## PushConstant class

A utility to provide data to shader through push constant.

```csharp
public class PushConstant
```

## Constructors

| Name | Description |
| --- | --- |
| [PushConstant](pushconstant/)() | Constructor of the `PushConstant` |

## Methods

| Name | Description |
| --- | --- |
| [Commit](../../aspose.threed.render/pushconstant/commit/)(ShaderStage, ICommandList) | Commit prepared data to graphics pipeline. |
| [Write](../../aspose.threed.render/pushconstant/write/#write_4)(float) | Write a float value to the constant |
| [Write](../../aspose.threed.render/pushconstant/write/#write)(FMatrix4) | Write the matrix to the constant |
| [Write](../../aspose.threed.render/pushconstant/write/#write_1)(FVector3) | Write a 3-component vector to the constant |
| [Write](../../aspose.threed.render/pushconstant/write/#write_2)(FVector4) | Write a 4-component vector to the constant |
| [Write](../../aspose.threed.render/pushconstant/write/#write_3)(int) | Write a int value to the constant |
| [Write](../../aspose.threed.render/pushconstant/write/#write_5)(float, float, float, float) | Write a 4-component vector to the constant |

### See Also

* namespace [Aspose.ThreeD.Render](../../aspose.threed.render/)
* assembly [Aspose.3D](../../)


