RlRenderBatchD class

rlRenderBatch type

Inheritance

Constructors

RlRenderBatchD({StructPointer<RlRenderBatchD>? op, int bufferCount = 0, int currentBuffer = 0, List<RlVertexBufferD>? vertexBuffer, List<RlDrawCallD>? draws, int drawCounter = 0, double currentDepth = 0})
RlRenderBatchD.zero()
factory

Properties

$state → RaylibTempStructState
Per-instance allocation state tracking slot keys, disposal, and identity.
finalinherited
bufferCount ↔ int
Number of vertex buffers (multi-buffering support)
getter/setter pair
currentBuffer ↔ int
Current buffer tracking in case of multi-buffering
getter/setter pair
currentDepth ↔ double
Current depth value for next draw
getter/setter pair
drawCounter ↔ int
Draw calls counter
getter/setter pair
draws ↔ StructLiveListStruct<RlDrawCallD>
Draw calls array, depends on textureId
getter/setter pair
hashCode → int
The hash code for this object.
no setterinherited
op ↔ StructPointer<RlRenderBatchD>?
The C-owned or RaylibTemp-owned typed pointer for this struct, if any.
getter/setter pairinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
structIsDisposed → bool
Whether structMarkDisposed has been called on this instance.
no setterinherited
structName → String
The Dart-side type name of this struct
no setterinherited
vertexBuffer ↔ StructLiveListStruct<RlVertexBufferD>
Dynamic buffer(s) for vertex data
getter/setter pair

Methods

clone() → RlRenderBatchD
Returns a deep copy of this instance, preserving op if present.
override
copy() → RlRenderBatchD
Returns a deep copy of this instance without op.
inherited
getOp() → StructPointer<RlRenderBatchD>
Returns op, throwing a descriptive StateError if unavailable or this instance RaylibTempStructState.isDisposed.
inherited
getOpAndDispose() → StructPointer<RlRenderBatchD>
Returns op and immediately disposes this struct.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
setDart(RlRenderBatchD o) → RlRenderBatchD
Copies the fields of o into this instance.
override
signature() → String
Returns a human-readable representation of this struct.
override
structAllocateInto(RaylibTemp<RaylibBase> temp, MemoryPointer<RType> p, String key) → void
Allocates nested pointers into temp under key as needed.
override
structMarkDisposed() → void
Marks this instance as disposed and clears op.
inherited
structOnOp(void callback(StructPointer<RlRenderBatchD> batch)) → void
Calls callback with op if it is set, otherwise no-ops.
inherited
structReadFrom(MemoryPointer<RType> p) → void
override
structSetTag(String newTag) → RlRenderBatchD
Sets RaylibTempStructState.tag to newTag.
inherited
structSyncFromMemory() → void
Syncs all fields from the memory. Requires op.
inherited
structSyncToMemory() → void
Syncs all fields to the memory. Requires op.
inherited
structWriteInto(MemoryPointer<RType> p) → void
override
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited

Static Properties

field_bufferCount → StructValueField<int, RInt>
Field descriptor for bufferCount.
final
field_currentBuffer → StructValueField<int, RInt>
Field descriptor for currentBuffer.
final
field_currentDepth → StructValueField<double, RFloat>
Field descriptor for currentDepth.
final
field_drawCounter → StructValueField<int, RInt>
Field descriptor for drawCounter.
final
field_draws → StructPointerArrayField<RlDrawCallD, RStruct>
Field descriptor for draws.
final
field_vertexBuffer → StructPointerArrayField<RlVertexBufferD, RStruct>
Field descriptor for vertexBuffer.
final
struct → StructType<RlRenderBatchD>
Describes the raw memory layout, construction, and pointer representation of this struct type.
final
structLayout → StructLayout<RlRenderBatchField>
Raw memory layout of this object.
final