setC method
Implementation
@override
RlRenderBatchD setC(RlRenderBatchC o) {
onOriginalPointer((p) {
p.ref.vertexBuffer = o.vertexBuffer;
p.ref.draws = o.draws;
});
bufferCount = o.bufferCount;
currentBuffer = o.currentBuffer;
vertexBuffers = o.vertexBuffer.address != 0
? .generate(o.bufferCount, (i) => o.vertexBuffer[i].toD(o.vertexBuffer + i))
: [];
draws = o.draws.address != 0
? .generate(o.drawCounter, (i) => o.draws[i].toD(o.draws + i))
: [];
drawCounter = o.drawCounter;
currentDepth = o.currentDepth;
return this;
}