fromValue static method
Implementation
static RlDrawMode fromValue(int value) => switch (value) {
0x0001 => RL_LINES,
0x0004 => RL_TRIANGLES,
0x0007 => RL_QUADS,
_ => throw ArgumentError('Unknown value for rlDrawMode: $value'),
};
static RlDrawMode fromValue(int value) => switch (value) {
0x0001 => RL_LINES,
0x0004 => RL_TRIANGLES,
0x0007 => RL_QUADS,
_ => throw ArgumentError('Unknown value for rlDrawMode: $value'),
};