|
KGLLib
|
3D texture class More...
#include <texture.h>
Public Member Functions | |
| Texture3D (int width, int height, int depth) | |
| virtual void | setWrapMode (GLenum mode) |
| virtual GLenum | glTarget () const |
3D texture class
| virtual GLenum KGLLib::Texture3D::glTarget | ( | ) | const [inline, virtual] |
TODO: maybe rename to glType()
Implements KGLLib::TextureBase.
| void KGLLib::Texture3D::setWrapMode | ( | GLenum | mode | ) | [virtual] |
Sets wrap mode for all coordinates of this texture. Subclasses need to reimplement this, calling setWrapMode() for every possible coordinate.
Implements KGLLib::TextureBase.
1.7.4