ICommandList.PushConstants
Contents
[
Hide
]PushConstants(ShaderStage, byte[])
Push the constant to the pipeline
public void PushConstants(ShaderStage stage, byte[] data)
| Parameter | Type | Description |
|---|---|---|
| stage | ShaderStage | Which shader stage will consume the constant data |
| data | Byte[] | The data that will be sent to the shader |
See Also
- enum ShaderStage
- interface ICommandList
- namespace Aspose.ThreeD.Render
- assembly Aspose.3D
PushConstants(ShaderStage, byte[], int)
Push the constant to the pipeline
public void PushConstants(ShaderStage stage, byte[] data, int size)
| Parameter | Type | Description |
|---|---|---|
| stage | ShaderStage | Which shader stage will consume the constant data |
| data | Byte[] | The data that will be sent to the shader |
| size | Int32 | Bytes to write to the pipeline |
See Also
- enum ShaderStage
- interface ICommandList
- namespace Aspose.ThreeD.Render
- assembly Aspose.3D