Class PushConstant

PushConstant class

A utility to provide data to shader through push constant.

public class PushConstant

Constructors

NameDescription
PushConstant()Constructor of the PushConstant

Methods

NameDescription
Commit(ShaderStage, ICommandList)Commit prepared data to graphics pipeline.
Write(float)Write a float value to the constant
Write(FMatrix4)Write the matrix to the constant
Write(FVector3)Write a 3-component vector to the constant
Write(FVector4)Write a 4-component vector to the constant
Write(int)Write a int value to the constant
Write(float, float, float, float)Write a 4-component vector to the constant

See Also