rlLoadTexture method

  1. @override
int rlLoadTexture(
  1. Uint8List? data,
  2. num width,
  3. num height,
  4. PixelFormat format,
  5. 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(),
);