#include <PrimaryTextureContainer.h>
Inheritance diagram for OpenGL::PrimaryTextureContainer:
Public Member Functions | |
PrimaryTextureContainer (IoTextureSet *textureSet, unsigned int viewportX, unsigned int viewportY, unsigned int viewportWidth, unsigned int viewportHeight) | |
PrimaryTextureContainer (IoTextureSet *textureSet) | |
Private Member Functions | |
GLenum | getActiveTarget () const |
unsigned int | getActiveWidth () const |
unsigned int | getActiveHeight () const |
GLenum | getTarget (unsigned int textureNumber) const |
unsigned int | getWidth (unsigned int textureNumber) const |
unsigned int | getHeight (unsigned int textureNumber) const |
void | handleTextureActivation (unsigned int textureNumber) |
|
Initializes the PrimaryTextureContainer based on the given IoTextureSet and viewport dimensions.
|
|
Initializes the PrimaryTextureContainer based on the given IoTextureSet, and the current OpenGL viewport coordinates.
|
|
Gets the height of the active texture(s).
Implements OpenGL::TextureContainer. |
|
Gets the texture target of the active texture(s).
Implements OpenGL::TextureContainer. |
|
Gets the width of the active texture(s).
Implements OpenGL::TextureContainer. |
|
Gets the height of the given texture.
Implements OpenGL::TextureContainer. |
|
Gets the texture target of the given texture.
Implements OpenGL::TextureContainer. |
|
Gets the width of the given texture.
Implements OpenGL::TextureContainer. |
|
Called whenever the given texture is activated.
Implements OpenGL::TextureContainer. |