Skip to content

ShaderModuleDescriptor structure

Describes a shader module to compile.

public struct ShaderModuleDescriptor : IEquatable<ShaderModuleDescriptor>
parameter description
Format Format of Data.
EntryPoint Name of the entry point function.
Data Source text or binary in Format.
DebugName Optional name for diagnostics.
Profile Optional compiler profile, such as a shader model.
name description
ShaderModuleDescriptor(…) Describes a shader module to compile.
Data { get; set; } Source text or binary in Format.
DebugName { get; set; } Optional name for diagnostics.
EntryPoint { get; set; } Name of the entry point function.
Format { get; set; } Format of Data.
Profile { get; set; } Optional compiler profile, such as a shader model.