InterleavedBuffer constructor

InterleavedBuffer(
  1. NativeArray<num> array,
  2. int stride
)

Implementation

InterleavedBuffer(this.array, this.stride) {
  count = array.length ~/ stride;

  usage = StaticDrawUsage;
  updateRange = {"offset": 0, "count": -1};

  version = 0;

  uuid = MathUtils.generateUUID();
}