PushConstant

PushConstant

Overview

PushConstant is a class in Aspose.3D FOSS for .NET.

A utility to provide data to shader through push constant.

This class provides 8 methods for working with PushConstant objects in .NET programs. Available methods include: Commit, PushConstant, Write. All public members are accessible to any .NET application after installing the Aspose.3D FOSS for .NET package.

Methods

SignatureDescription
PushConstant()Constructor of the
Write(mat: FMatrix4)Not implemented in the FOSS edition — throws at runtime. Write the matrix to the constant
Write(n: int)Not implemented in the FOSS edition — throws at runtime. Write a int value to the constant
Write(f: float)Not implemented in the FOSS edition — throws at runtime. Write a float value to the constant
Write(vec: FVector4)Not implemented in the FOSS edition — throws at runtime. Write a 4-component vector to the constant
Write(vec: FVector3)Not implemented in the FOSS edition — throws at runtime. Write a 3-component vector to the constant
Write(x: float, y: float, z: float, w: float)Not implemented in the FOSS edition — throws at runtime. Write a 4-component vector to the constant
Commit(stage: ShaderStage, commandList: ICommandList)Not implemented in the FOSS edition — throws at runtime. Commit prepared data to graphics pipeline.

See Also

 English