SPIRVSource
Contents
[
Hide
]SPIRVSource class
The compiled shader in SPIR-V format.
Methods
constructor
Name | Description |
---|---|
constructor() | Constructor of SPIR-V based shader sources. |
Result:
getMaximumDescriptorSets
Name | Description |
---|---|
getMaximumDescriptorSets() | Maximum descriptor sets, default value is 10 |
Result:
setMaximumDescriptorSets
Name | Description |
---|---|
setMaximumDescriptorSets(value) | Maximum descriptor sets, default value is 10 |
Result:
getComputeShader
Name | Description |
---|---|
getComputeShader() | Gets or sets the source code of the compute shader. |
Result:
setComputeShader
Name | Description |
---|---|
setComputeShader(value) | Gets or sets the source code of the compute shader. |
Result:
getGeometryShader
Name | Description |
---|---|
getGeometryShader() | Gets or sets the source code of the geometry shader. |
Result:
setGeometryShader
Name | Description |
---|---|
setGeometryShader(value) | Gets or sets the source code of the geometry shader. |
Result:
getVertexShader
Name | Description |
---|---|
getVertexShader() | Gets or sets the source code of the vertex shader |
Result:
setVertexShader
Name | Description |
---|---|
setVertexShader(value) | Gets or sets the source code of the vertex shader |
Result:
getFragmentShader
Name | Description |
---|---|
getFragmentShader() | Gets or sets the source code of the fragment shader. |
Result:
setFragmentShader
Name | Description |
---|---|
setFragmentShader(value) | Gets or sets the source code of the fragment shader. |
Result: