rlLoadTexture method
Load texture data
Implementation
int rlLoadTexture(
Uint8List? data,
num width,
num height,
PixelFormat format,
num mipmapCount,
) => run(
() => _debugLabels.rlLoadTexture(data, width, height, format, mipmapCount),
() => _flat.rlLoadTexture(
data == null ? MemoryPointer.nullptr() : $.Uint8$.FromTypedList(data).cast(),
width.toInt(),
height.toInt(),
format.value,
mipmapCount.toInt(),
),
);