WaveD class

Inheritance
Mixed-in types

Constructors

WaveD({WasmStructPointer<WaveD>? originalPointer, int frameCount = 0, int sampleRate = 0, int sampleSize = 8, int channels = 0, ByteBuffer? data})
WaveD.zero()
factory

Properties

$state RaylibTempStructState
Per-instance allocation state tracking slot keys, disposal, and identity.
finalinherited
bufferLength int
no setterinherited
channels int
getter/setter pairoverride
data ByteBuffer
getter/setter pairoverride
frameCount int
getter/setter pairoverride
hashCode int
The hash code for this object.
no setterinherited
originalPointer WasmStructPointer<WaveD>?
The C-owned or RaylibTemp-owned native pointer for this struct, if any.
getter/setter pairinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sampleRate int
getter/setter pairoverride
sampleSize int
getter/setter pairoverride
structIsDisposed bool
Whether structMarkDisposed has been called on this instance.
no setterinherited
structName String
The Dart-side type name of this struct
no setterinherited
structRequiresOriginalPointer bool
Whether this struct requires an originalPointer to function correctly.
no setterinherited
wasmByteSize int
no setteroverride
waveLength int
no setterinherited

Methods

clone() WaveD
Returns a deep copy of this instance, preserving RaylibStructBase.originalPointer if present.
override
copy() WaveD
Returns a deep copy of this instance without RaylibStructBase.originalPointer.
inherited
dataAsList() TypedDataList
inherited
getOriginalPointer() WasmStructPointer<WaveD>
Returns originalPointer, throwing a descriptive StateError if unavailable or this instance RaylibTempStructState.isDisposed.
inherited
getOriginalPointerAndDispose() WasmStructPointer<WaveD>
Returns originalPointer and immediately calls structMarkDisposed.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
setD(WaveD o) WaveD
Copies the fields of o into this instance and returns this.
override
signature() String
Returns a human-readable representation of this struct's current field values.
inherited
structAllocateInto(RaylibTemp temp, WasmStructPointer<WaveD> p, String key) → void
Allocates nested pointers into temp under key as needed.
override
structMarkDisposed() → void
Marks this instance as disposed and clears originalPointer.
inherited
structOnOp(void callback(WasmStructPointer<WaveD> p)) → void
Calls callback with originalPointer if it is set, otherwise no-ops.
inherited
structReadFrom(WasmStructPointer<WaveD> p) → void
Reads all fields from the memory at p.
inherited
structSetTag(String newTag) WaveD
Sets RaylibTempStructState.tag to newTag and returns this for chaining.
inherited
structSyncFromMemory() → void
Syncs all fields from the memory. Requires originalPointer.
inherited
structSyncInto(RaylibTemp temp, WasmStructPointer<WaveD> p, String key) → void
Syncs Dart-side fields into the already-allocated native pointer p. Defaults to structWriteInto.
inherited
structSyncToMemory() → void
Syncs all fields to the memory. Requires originalPointer.
inherited
structWriteInto(WasmStructPointer<WaveD> p) → void
Writes all fields into the memory at p.
inherited
toString() String
A string representation of this object.
inherited
wasmReader([int? offset]) WasmReader
inherited
wasmReaderOr(int address) WasmReader
inherited
wasmReadFrom(WasmReader reader) → void
override
wasmWriteInto(WasmWriter writer) → void
override
wasmWriter([int? offset]) WasmWriter
inherited
wasmWriterOr(int address) WasmReader
inherited

Operators

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

Static Properties

byteSize int
final