KGLLib
KGLLib::Texture3D Class Reference
#include <texture.h>
Inheritance diagram for KGLLib::Texture3D:

Detailed Description
3D texture classDefinition at line 292 of file texture.h.
Public Member Functions | |
| virtual GLenum | glTarget () const |
| virtual void | setWrapMode (GLenum mode) |
| Texture3D (int width, int height, int depth) | |
| virtual | ~Texture3D () |
Constructor & Destructor Documentation
| KGLLib::Texture3D::Texture3D | ( | int | width, | |
| int | height, | |||
| int | depth | |||
| ) |
| KGLLib::Texture3D::~Texture3D | ( | ) | [virtual] |
Definition at line 343 of file texture.cpp.
Member Function Documentation
| virtual GLenum KGLLib::Texture3D::glTarget | ( | ) | const [inline, virtual] |
TODO: maybe rename to glType().
- Returns:
- type of this texture (e.g. GL_TEXTURE_2D)
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.
Definition at line 347 of file texture.cpp.
The documentation for this class was generated from the following files:
KDE 4.2 API Reference