• Skip to content
  • Skip to link menu
KDE 4.2 API Reference
  • KDE API Reference
  • API Reference
  • Sitemap
  • Contact Us
 

KGLLib

KGLLib::Texture3D

KGLLib::Texture3D Class Reference

#include <texture.h>

Inheritance diagram for KGLLib::Texture3D:

Inheritance graph
[legend]

List of all members.


Detailed Description

3D texture class

Definition 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.

Definition at line 300 of file texture.h.

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:
  • texture.h
  • texture.cpp

KGLLib

Skip menu "KGLLib"
  • Main Page
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members
  • Related Pages

API Reference

Skip menu "API Reference"
  • KGLLib
Generated for API Reference by doxygen 1.5.4
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal