Home -> IStateBufferLayout -> AppendVector
Description
The AppendVector method appends a vector field to the state buffer layout.
Usage
void AppendVector(const Marshal::In<std::string>& fieldName, DataType type, size_t elementCount, size_t arraySize = 0);
Argument list
- fieldName [const Marshal::In<std::string>]
- The name to assign to the vector field in the state buffer layout.
- type [DataType]
- The scalar data type of each vector component.
- elementCount [size_t]
- The number of scalar components in the vector.
- arraySize [size_t]
- The optional array element count. Use 0 for a non-array field.