ImageTexture.createFromImage

Create a new ImageTexture from an Image with "flags" from Texture.FLAG_*. An sRGB to linear color space conversion can take place, according to Image.FORMAT_*.

struct ImageTexture
@nogc nothrow
void
createFromImage
(,
in long flags = 7
)

Meta