<ColorArrayAlgorithms> 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 an array of vectors 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 an array of vectors 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.
int32PackScalarArrayInVectorsPacks an array of scalars in an array of vectors, with the appropriate offset such as vec2, vec3, or vec4. For example, this can pack an array of 8 scalar values into an array of four vector values, using the scalar values to fill in the vec2 component of each destination vector.