<MatrixAlgorithms> Data Interface

Provides script language access to C++ objects of this type.

Class HierarchyNo registered superclass.

Function Members

Function members are as follows:

Return Type Function Name Documentation
int32ConvertToCpuMemoryLayoutConverts 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 ).
int32ConvertToGpuMemoryLayoutConverts 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 ).
int32GetWriteSizeInBytesReturns 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.
int32PackMatrixInScalarArrayPacks a matrix into a scalar array, using row major or column major layout order. A 2x2 matrix results in four packed values.
int32PackScalarArrayInMatrixPacks a scalar array in a matrix. For example, a scalar array with four values can be packed into a 2x2 matrix.