InterleavedBuffer.fromList constructor
array
-- A typed array with a shared buffer. Stores the
geometry data.
stride
-- The number of typed-array elements per vertex.
Implementation
factory InterleavedBuffer.fromList(TypedData array, int stride) {
return InterleavedBuffer(Float32Array.fromList(array.buffer.asFloat32List()), stride);
}