RlDrawCallD class
Draw call type
- Inheritance
-
- Object
- RaylibStruct<
RlDrawCallD> - RlDrawCallD
Constructors
-
RlDrawCallD({StructPointer<
RlDrawCallD> ? op, RlDrawMode mode = .RL_NONE, int vertexCount = 0, int vertexAlignment = 0, int textureId = 0}) - RlDrawCallD.zero()
-
factory
Properties
- $state → RaylibTempStructState
-
Per-instance allocation state tracking slot keys, disposal, and identity.
finalinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- mode ↔ RlDrawMode
-
Drawing mode: LINES, TRIANGLES, QUADS
getter/setter pair
-
op
↔ StructPointer<
RlDrawCallD> ? -
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
- textureId ↔ int
-
Texture id to be used on the draw -> Use to create new draw call if changes
getter/setter pair
- vertexAlignment ↔ int
-
Number of vertex required for index alignment (LINES, TRIANGLES)
getter/setter pair
- vertexCount ↔ int
-
Number of vertex of the draw
getter/setter pair
Methods
-
clone(
) → RlDrawCallD -
Returns a deep copy of this instance, preserving op if present.
override
-
copy(
) → RlDrawCallD -
Returns a deep copy of this instance without op.
inherited
-
getOp(
) → StructPointer< RlDrawCallD> -
Returns op, throwing a descriptive StateError if unavailable or this instance RaylibTempStructState.isDisposed.
inherited
-
getOpAndDispose(
) → StructPointer< RlDrawCallD> -
Returns op and immediately disposes this struct.
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
setDart(
RlDrawCallD o) → RlDrawCallD -
Copies the fields of
ointo 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
tempunderkeyas needed.inherited -
structMarkDisposed(
) → void -
Marks this instance as disposed and clears op.
inherited
-
structOnOp(
void callback(StructPointer< RlDrawCallD> p)) → void -
Calls
callbackwith op if it is set, otherwise no-ops.inherited -
structReadFrom(
MemoryPointer< RType> p) → void -
override
-
structSetTag(
String newTag) → RlDrawCallD -
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_mode
→ StructValueField<
RlDrawMode, RType> -
Field descriptor for mode.
final
-
field_textureId
→ StructValueField<
int, RUnsignedInt> -
Field descriptor for textureId.
final
-
field_vertexAlignment
→ StructValueField<
int, RInt> -
Field descriptor for vertexAlignment.
final
-
field_vertexCount
→ StructValueField<
int, RInt> -
Field descriptor for vertexCount.
final
-
struct
→ StructType<
RlDrawCallD> -
Describes the raw memory layout, construction, and pointer representation
of this struct type.
final
-
structLayout
→ StructLayout<
RlDrawCallField> -
Raw memory layout of this object.
final