LoadTexture method

  1. @override
TextureD LoadTexture(
  1. MemoryPointer<RChar> fileName
)
override

Load texture from file into GPU memory (VRAM)

Implementation

@override
TextureD LoadTexture(
  MemoryPointer<RChar> fileName,
) => $.Texture$.RefCapture(
  RaylibCaptureIds.LoadTexture,
  (p) => _ffi.LoadTexture(
    fileName.asNativePointer(),
  ).toDart(p.asNativePointer()),
);