TextureUnits

Cache state of OpenGL texture units. Use deprecated image units!

Constructors

this
this(OpenGL gl)

Creates a TextureUnits object. This is automatically done by loading OpenGL.

Members

Functions

setActiveTexture
void setActiveTexture(int texture)

Sets the "active texture" which is more precisely active texture unit.

Meta