Function VertexBufferGetFloatData
-
VertexBufferGetFloatData(
data: DataArray,
size: number,
type: number,
byteOffset: number,
byteStride: number,
normalized: boolean,
totalVertices: number,
forceCopy?: boolean,
): FloatArrayParameters
- data: DataArray
the input data array
- size: number
the number of components
- type: number
the component type
- byteOffset: number
the byte offset of the data
- byteStride: number
the byte stride of the data
- normalized: boolean
whether the data is normalized
- totalVertices: number
number of vertices in the buffer to take into account
OptionalforceCopy: booleandefines a boolean indicating that the returned array must be cloned upon returning it
Returns FloatArray
a float array containing vertex data
- data: DataArray
Gets the given data array as a float array. Float data is constructed if the data array cannot be returned directly.