setD method

  1. @override
RlRenderBatchD setD(
  1. RlRenderBatchD o
)
override

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

Implementation

@override
RlRenderBatchD setD(RlRenderBatchD o) {
  originalPointer ??= o.originalPointer;
  bufferCount = o.bufferCount;
  currentBuffer = o.currentBuffer;
  vertexBuffers = o.vertexBuffers.map((e) => e.clone()).toList();
  draws = o.draws.map((e) => e.clone()).toList();
  drawCounter = o.drawCounter;
  currentDepth = o.currentDepth;
  return this;
}