SPIRVSource class

SPIRVSource class

The compiled shader in SPIR-V format.

Inheritance: SPIRVSourceShaderSource

The SPIRVSource type exposes the following members:

Constructors

ConstructorDescription
initConstructor of SPIR-V based shader sources.

Properties

PropertyDescription
maximum_descriptor_setsMaximum descriptor sets, default value is 10
compute_shaderGets or sets the source code of the compute shader.
geometry_shaderGets or sets the source code of the geometry shader.
vertex_shaderGets or sets the source code of the vertex shader
fragment_shaderGets or sets the source code of the fragment shader.

See Also