push_constants method
push_constants
Push the constant to the pipeline
def push_constants(self, stage, data):
...
Parameter | Type | Description |
---|---|---|
stage | ShaderStage | Which shader stage will consume the constant data |
data | bytes | The data that will be sent to the shader |
push_constants
Push the constant to the pipeline
def push_constants(self, stage, data, size):
...
Parameter | Type | Description |
---|---|---|
stage | ShaderStage | Which shader stage will consume the constant data |
data | bytes | The data that will be sent to the shader |
size | int | Bytes to write to the pipeline |
See Also
- module
aspose.threed.render
- class
ICommandList