Generates the OpenGL texture and initializes the struct.
Alias this to texture.
Sets the texture data.
Holds the format of the pixel data.
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.
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.
Represents an OpenGL 1D texture. The constructor must be used to avoid segmentation faults.