Function ImageTexture.create

Create a new ImageTexture with width and height. format is a value from Image.format, flags is any combination of Texture.flags.

void create (
  const(long) width,
  const(long) height,
  const(long) format,
  const(long) flags = 7L
) nothrow @nogc;