allocateInto method

  1. @override
void allocateInto(
  1. RaylibTemp temp,
  2. Pointer<ImageC> p,
  3. String key
)
override

Implementation

@override
void allocateInto(RaylibTemp temp, Pointer<ImageC> p, String key) {
  p.ref.width = width;
  p.ref.height = height;
  p.ref.mipmaps = mipmaps;
  p.ref.format = format.value;
  p.ref.data = temp.UInt8$.RawArray(data).cast();
}