Function VertexBufferForEach
-
VertexBufferForEach(
data: DataArray,
byteOffset: number,
byteStride: number,
componentCount: number,
componentType: number,
count: number,
normalized: boolean,
callback: (value: number, index: number) => void,
): voidParameters
- data: DataArray
the data to enumerate
- byteOffset: number
the byte offset of the data
- byteStride: number
the byte stride of the data
- componentCount: number
the number of components per element
- componentType: number
the type of the component
- count: number
the number of values to enumerate
- normalized: boolean
whether the data is normalized
- callback: (value: number, index: number) => void
the callback function called for each value
Returns void
- data: DataArray
Enumerates each value of the given parameters as numbers.