Defined in:Returns the state associated with a single subarray in a data structure.
const uint32& GetArrayStateElement(int32 index) const;
||The zero-based index of the subarray for which to retrieve the state.|
GetArrayStateElementfunction returns a reference to the state associated with a single subarray in a data structure. The legal values of the
indexparameter range from zero to n / s −1, inclusive, where n is the total count of data elements returned by the
DataStructure::GetDataElementCountfunction, and s is the size of each subarray returned by the
PrimitiveStructure::GetArraySizefunction. States are stored contiguously in memory.
State data exists only if the
true, and there is one state value per subarray. The
GetArrayStateElementfunction should not be called if the