ImageD constructor
ImageD({})
Implementation
ImageD({
super.originalPointer,
Uint8List? data,
int width = 0,
int height = 0,
int mipmaps = 0,
PixelFormat format = .PIXELFORMAT_NONE,
}) :
_width = width,
_height = height,
_mipmaps = mipmaps,
_format = format
{
_data = data ?? Uint8List(dataLength);
}