Structure SyscInputVectorData
Definition: syscInputVectorData.h (line 42)
Provide a struct for input vector data.
Input vector data provides read and write access to an array of vector data.
The size is the total number of vectors, not the total number of components, i.e. if all data is stored in one contiguous array, then size is 1/3 the size of that array.
To create and/or initialize SyscInputVectorData, it is highly recommended to use one of the functions with names starting with syscGetInputVectorData. These functions will initialize all members to the correct values and will help to avoid back-compatibility issues in the future. For example:
SyscInputVectorData ivd = syscGetInputVectorDataSplitDouble(x, y, z, size);
Members
Public attributes
Variable primitiveType
Definition: syscInputVectorData.h (line 177)
enum SyscPrimitiveType SyscInputVectorData::primitiveType
Primitive type.
Type: enum SyscPrimitiveType
Variable data0
Definition: syscInputVectorData.h (line 44)
void* SyscInputVectorData::data0
Pointer to the first array.
Type: void *
Variable data1
Definition: syscInputVectorData.h (line 45)
void* SyscInputVectorData::data1
Pointer to the second array.
Type: void *
Variable data2
Definition: syscInputVectorData.h (line 46)
void* SyscInputVectorData::data2
Pointer to the third array.
Type: void *
Variable size
Definition: syscInputVectorData.h (line 47)
size_t SyscInputVectorData::size
Array size.
Type: size_t
Variable dimension
Definition: syscInputVectorData.h (line 47)
enum SyscDimension SyscInputVectorData::dimension
Array Dimension
Type: enum SyscDimension