public final class SPIRVSource extends ShaderSource
Constructor and Description |
---|
SPIRVSource()
Constructor of SPIR-V based shader sources.
|
Modifier and Type | Method and Description |
---|---|
byte[] |
getComputeShader()
Gets the source code of the compute shader.
|
byte[] |
getFragmentShader()
Gets the source code of the fragmnt shader.
|
byte[] |
getGeometryShader()
Gets the source code of the geometry shader.
|
int |
getMaximumDescriptorSets()
Maximum descriptor sets, default value is 10
|
byte[] |
getVertexShader()
Gets the source code of the vertex shader
|
void |
setComputeShader(byte[] value)
Sets the source code of the compute shader.
|
void |
setFragmentShader(byte[] value)
Sets the source code of the fragmnt shader.
|
void |
setGeometryShader(byte[] value)
Sets the source code of the geometry shader.
|
void |
setMaximumDescriptorSets(int value)
Maximum descriptor sets, default value is 10
|
void |
setVertexShader(byte[] value)
Sets the source code of the vertex shader
|
public int getMaximumDescriptorSets()
public void setMaximumDescriptorSets(int value)
value
- New valuepublic byte[] getComputeShader()
public void setComputeShader(byte[] value)
value
- New valuepublic byte[] getGeometryShader()
public void setGeometryShader(byte[] value)
value
- New valuepublic byte[] getVertexShader()
public void setVertexShader(byte[] value)
value
- New valuepublic byte[] getFragmentShader()
public void setFragmentShader(byte[] value)
value
- New value