rlLoadTexture method
int
rlLoadTexture(
- Uint8List? data,
- num width,
- num height,
- PixelFormat format,
- num mipmapCount,
override
Implementation
@override
int rlLoadTexture(
Uint8List? data,
num width,
num height,
PixelFormat format,
num mipmapCount,
) => run(
() => RaylibDebugLabels.rlLoadTexture(data, width, height, format, mipmapCount),
() => rl.Rlgl.rlLoadTexture.run5(
(data == null ? 0 : rl.Temp.Uint8$.FromTypedList(data).address).toJS,
width.toJS,
height.toJS,
format.value.toJS,
mipmapCount.toJS,
).toInt(),
);