KGLLib
Public Member Functions
KGLLib::Texture3D Class Reference

3D texture class More...

#include <texture.h>

Inheritance diagram for KGLLib::Texture3D:
KGLLib::TextureBase

List of all members.

Public Member Functions

 Texture3D (int width, int height, int depth)
virtual void setWrapMode (GLenum mode)
virtual GLenum glTarget () const

Detailed Description

3D texture class


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.


The documentation for this class was generated from the following files: