fromValue static method
Returns the RlMatrixMode for the given native value.
Throws ArgumentError if value does not correspond to a known entry.
Implementation
static RlMatrixMode fromValue(int value) => switch (value) {
0x1700 => RL_MODELVIEW,
0x1701 => RL_PROJECTION,
0x1702 => RL_TEXTURE,
_ => throw ArgumentError('Unknown value for $RlMatrixMode: $value'),
};