InstancedInterleavedBuffer constructor

InstancedInterleavedBuffer(
  1. NativeArray<num> array,
  2. dynamic stride,
  3. dynamic meshPerAttribute
)

Implementation

InstancedInterleavedBuffer(NativeArray array, stride, meshPerAttribute) : super(array, stride) {
  this.meshPerAttribute = meshPerAttribute ?? 1;
  type = "InstancedInterleavedBuffer";
}