
## push_constants(self, stage, data) {#aspose.threed.render.ShaderStage-bytes}

Push the constant to the pipeline



```python

def push_constants(self, stage, data):
    ...
```


| Parameter | Type | Description |
| :- | :- | :- |
| stage | [`ShaderStage`](/3d/python-net/aspose.threed.render/shaderstage) | Which shader stage will consume the constant data |
| data | bytes | The data that will be sent to the shader |


## push_constants(self, stage, data, size) {#aspose.threed.render.ShaderStage-bytes-int}

Push the constant to the pipeline



```python

def push_constants(self, stage, data, size):
    ...
```


| Parameter | Type | Description |
| :- | :- | :- |
| stage | [`ShaderStage`](/3d/python-net/aspose.threed.render/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`](/3d/python-net/aspose.threed.render/icommandlist)
