Texture2D

OpenGL Texture2D Representation

Members

Functions

update
void update(int x, int y, int width, int height, const(ubyte)* pixels, PixelFormat format)

Updates texture

Static functions

newEmpty
auto newEmpty(int width, int height, PixelFormat format)

Makes empty texture

Meta