LoadImageRaw method

  1. @override
ImageD LoadImageRaw(
  1. MemoryPointer<RChar> fileName,
  2. int width,
  3. int height,
  4. int format,
  5. int headerSize,
)
override

Load image from RAW file data

Implementation

@override
ImageD LoadImageRaw(
  MemoryPointer<RChar> fileName,
  int width,
  int height,
  int format,
  int headerSize,
) => $.Image$.RefCapture(
  RaylibCaptureIds.LoadImageRaw,
  (p) => _ffi.LoadImageRaw(
    fileName.asNativePointer(),
    width,
    height,
    format,
    headerSize,
  ).toDart(p.asNativePointer()),
);