setD method

Copies the fields of the Dart struct o into this instance.

Implementation

@override
RlVertexBufferD setD(RlVertexBufferD o) {
  originalPointer ??= o.originalPointer;
  elementCount = o.elementCount;
  vertices = .from(o.vertices);
  texcoords = .from(o.texcoords);
  normals = .from(o.normals);
  colors = .from(o.colors);
  indices = .from(o.indices);
  vaoId = o.vaoId;
  vboId = .from(o.vboId);
  return this;
}