Generates the OpenGL texture and initializes the struct.
Alias this to texture.
Sets the texture data.
Holds the texture depth or texture array length.
Holds the format of the pixel data.
Holds the texture height.
Holds the internal format passed to the constructor.
The OpenGL texture name.
Holds the OpenGL data type of the pixel data.
Holds the texture unit.
Holds the texture width.
Deletes the texture.
Sets a texture parameter.
Queries a texture parameter from OpenGL.
Generates mipmaps for the textre (also binds it)
Binds the texture.
Activates the texture to unit, passed to the function.
Activates the texture to unit, the struct member.
Binds the texture and activates it to unit, passed to the function.
Binds the texture and activates it to unit, the struct member.
Unbinds the texture.
Base class, which represents an OpenGL 3D or 2D array texture. The constructor must be used to avoid segmentation faults.