PushConstant class

PushConstant class

A utility to provide data to shader through push constant.

The PushConstant type exposes the following members:

Constructors

ConstructorDescription
initConstructor of the PushConstant

Methods

MethodDescription
writeWrite the matrix to the constant
writeWrite a int value to the constant
writeWrite a float value to the constant
writeWrite a 4-component vector to the constant
writeWrite a 3-component vector to the constant
writeWrite a 4-component vector to the constant
commitCommit prepared data to graphics pipeline.

See Also