|
VoltAir
|
A texture which points to a user managed GL texture object. More...
Public Member Functions | |
| DirectTexture () | |
| Creates a Texture which references the invalid texture object zero. More... | |
| DirectTexture (GLuint id) | |
| Creates a Texture which references the given texture object. More... | |
| virtual | ~DirectTexture () |
| Cleans up additional resources owned by this object. More... | |
| virtual void | bind () override |
| Binds this Texture to the current active texture stage. More... | |
| virtual void | unbind () override |
| Unbinds this Texture from the current active texture stage. More... | |
| virtual int | getWidth () const override |
| Current unsupported. More... | |
| virtual int | getHeight () const override |
| Current unsupported. More... | |
| virtual GLint | getMagnificationFilter () override |
| Returns the magnification filter mode applied to this Texture. More... | |
| virtual void | setMagnificationFilter (GLint value) override |
| Sets the magnification filter mode applied to this Texture. More... | |
| virtual GLint | getMinificationFilter () override |
| Returns the minification filter mode applied to this Texture. More... | |
| virtual void | setMinificationFilter (GLint value) override |
| Sets the minification filter mode applied to this Texture. More... | |
| virtual GLint | getHorizontalWrapMode () override |
| Returns the wrap mode to apply to the Texture horizontally. More... | |
| virtual void | setHorizontalWrapMode (GLint value) override |
| Sets the wrap mode to apply to the Texture horizontally. More... | |
| virtual GLint | getVerticalWrapMode () override |
| Returns the wrap mode to apply to the Texture vertically. More... | |
| virtual void | setVerticalWrapMode (GLint value) override |
| Sets the wrap mode to apply to the Texture vertically. More... | |
A texture which points to a user managed GL texture object.
| DirectTexture::DirectTexture | ( | ) |
Creates a Texture which references the invalid texture object zero.
| DirectTexture::DirectTexture | ( | GLuint | id | ) |
Creates a Texture which references the given texture object.
| id | GL texture object id |
|
virtual |
Cleans up additional resources owned by this object.
|
overridevirtual |
Binds this Texture to the current active texture stage.
The active texture stage is selected through Renderer::selectTexture(), or a call to glActiveTexture().
Implements Texture.
|
overridevirtual |
|
overridevirtual |
|
overridevirtual |
|
overridevirtual |
|
overridevirtual |
|
overridevirtual |
|
overridevirtual |
|
overridevirtual |
|
overridevirtual |
|
overridevirtual |