SPIRVSource

SPIRVSource class

The compiled shader in SPIR-V format.

Methods

constructor

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

Result:


getMaximumDescriptorSets

NameDescription
getMaximumDescriptorSets()Maximum descriptor sets, default value is 10

Result:


setMaximumDescriptorSets

NameDescription
setMaximumDescriptorSets(value)Maximum descriptor sets, default value is 10

Result:


getComputeShader

NameDescription
getComputeShader()Gets or sets the source code of the compute shader.

Result:


setComputeShader

NameDescription
setComputeShader(value)Gets or sets the source code of the compute shader.

Result:


getGeometryShader

NameDescription
getGeometryShader()Gets or sets the source code of the geometry shader.

Result:


setGeometryShader

NameDescription
setGeometryShader(value)Gets or sets the source code of the geometry shader.

Result:


getVertexShader

NameDescription
getVertexShader()Gets or sets the source code of the vertex shader

Result:


setVertexShader

NameDescription
setVertexShader(value)Gets or sets the source code of the vertex shader

Result:


getFragmentShader

NameDescription
getFragmentShader()Gets or sets the source code of the fragment shader.

Result:


setFragmentShader

NameDescription
setFragmentShader(value)Gets or sets the source code of the fragment shader.

Result: