ImageTexture.createFromImage

Initializes the texture by allocating and setting the data from an Image with flags from Texture.flags. 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