Provides script language access to C++ objects of this type.
Class Hierarchy | No registered superclass. |
Function members are as follows:
Return Type | Function Name | Documentation |
---|---|---|
int32 | ConvertToCpuMemoryLayout | Converts the matrix from the GPU memory layout ( memory layout may change with padding introduced by certain layout qualifiers such as packed, shared, std430, or std140 ) into the CPU memory layout ( which is a contiguous, unpadded array of values ). |
int32 | ConvertToGpuMemoryLayout | Converts a matrix from the CPU memory layout, which is a contiguous, unpadded array of values, to the GPU memory layout ( GPU memory layout may change with padding introduced by certain layout qualifiers such as packed, shared, std430, or std140 ). |
int32 | GetWriteSizeInBytes | Returns the size in bytes that will be written to the GPU. The source size in bytes might not be the destination size of the object in bytes if qualifiers such as packed, shared, std140, or std430 are specified. |
int32 | PackMatrixInScalarArray | Packs a matrix into a scalar array, using row major or column major layout order. A 2x2 matrix results in four packed values. |
int32 | PackScalarArrayInMatrix | Packs a scalar array in a matrix. For example, a scalar array with four values can be packed into a 2x2 matrix. |