MaterialBase<X extends MaterialBase<X, S, M, T, C> , S extends ShaderBase<S> , M extends MaterialMapBase<M, T, C> , T extends TextureBase<T> , C extends ColorBase<C> > mixin
Backend-agnostic contract for MaterialBase structs.
Must be mixed into every concrete platform implementation of a Raylib type to ensure a unified API surface across different backends.
- Superclass constraints
- Mixin applications
Properties
- $state → RaylibTempStructState
-
Per-instance allocation state tracking slot keys, disposal, and identity.
finalinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
-
maps
↔ RaylibLiveList<
M> -
getter/setter pair
- mapsCount → int
-
no setter
-
params
↔ RaylibLiveList<
double> -
getter/setter pair
- paramsCount → int
-
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- shader ↔ S
-
getter/setter pair
- structName → String
-
The Dart-side type name of this struct
no setterinherited
Methods
-
clone(
) → X -
Returns a deep copy of this instance, preserving RaylibStructBase.originalPointer if present.
inherited
-
copy(
) → X -
Returns a deep copy of this instance without RaylibStructBase.originalPointer.
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
setD(
X o) → X -
Copies the fields of
ointo this instance and returnsthis.inherited -
signature(
) → String -
Returns a human-readable representation of this struct's current field values.
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
- BASE_mapsCount → int
-
no setter
- BASE_paramsCount → int
-
no setter