Function Image.create
Creates an empty image of given size and format. See format
constants. If use_mipmaps
is true
then generate mipmaps for this image. See the generateMipmaps
.
void create
(
const(long) width,
const(long) height,
const(bool) use_mipmaps,
const(long) format
) nothrow @nogc;