LoadFont method

  1. @override
FontD LoadFont(
  1. MemoryPointer<RChar> fileName
)
override

Load font from file into GPU memory (VRAM)

Implementation

@override
FontD LoadFont(
  MemoryPointer<RChar> fileName,
) => $.Font$.RefCapture(
  RaylibCaptureIds.LoadFont,
  (p) => _ffi.LoadFont(
    fileName.asNativePointer(),
  ).toDart(p.asNativePointer()),
);