Class SPIRVSource

SPIRVSource class

The compiled shader in SPIR-V format.

public sealed class SPIRVSource : ShaderSource

Constructors

NameDescription
SPIRVSource()Constructor of SPIR-V based shader sources.

Properties

NameDescription
ComputeShader { get; set; }Gets or sets the source code of the compute shader.
FragmentShader { get; set; }Gets or sets the source code of the fragment shader.
GeometryShader { get; set; }Gets or sets the source code of the geometry shader.
MaximumDescriptorSets { get; set; }Maximum descriptor sets, default value is 10
VertexShader { get; set; }Gets or sets the source code of the vertex shader

See Also