Home -> IStateBufferLayout -> AppendMatrix

Description

The AppendMatrix method appends a matrix field to the state buffer layout.

Usage

void AppendMatrix(const Marshal::In<std::string>& fieldName, DataType type, size_t width, size_t height, size_t arraySize = 0);

Argument list

fieldName [const Marshal::In<std::string>]
The name to assign to the matrix field in the state buffer layout.
type [DataType]
The scalar data type of each matrix component.
width [size_t]
The number of columns in the matrix.
height [size_t]
The number of rows in the matrix.
arraySize [size_t]
The optional array element count. Use 0 for a non-array field.

See also