InterleavedBuffer constructor
InterleavedBuffer(
- NativeArray<
num> array, - int stride
array -- A typed array with a shared buffer. Stores the
geometry data.
stride -- The number of typed-array elements per vertex.
Implementation
InterleavedBuffer(this.array, this.stride) {
count = array.length ~/ stride;
uuid = MathUtils.generateUUID();
}