K3dTexture Class Reference

#include <K3dTexture.h>

Inheritance diagram for K3dTexture:

K3dTextureObj List of all members.

Public Member Functions

 K3dTexture ()
 ~K3dTexture ()
int & GetWidth ()
 Get Texture width.
int & GetHeight ()
 Get Texture width.
GLuint & GetId ()
 Get Texture index.

Private Attributes

int m_iWidth
 Texture width.
int m_iHeight
 Texture height.
GLuint m_iId
 Texture index.

Detailed Description

Definition at line 36 of file K3dTexture.h.


Constructor & Destructor Documentation

K3dTexture::K3dTexture (  ) 

Definition at line 35 of file K3dTexture.cpp.

K3dTexture::~K3dTexture (  ) 

Definition at line 39 of file K3dTexture.cpp.


Member Function Documentation

int& K3dTexture::GetWidth (  )  [inline]

Get Texture width.

Return values:
m_iWidth Texture width

Definition at line 48 of file K3dTexture.h.

References m_iWidth.

Referenced by K2dImageBuild::LoadImages().

int& K3dTexture::GetHeight (  )  [inline]

Get Texture width.

Return values:
m_iHeight Texture height

Definition at line 55 of file K3dTexture.h.

References m_iHeight.

Referenced by K2dImageBuild::LoadImages().

GLuint& K3dTexture::GetId (  )  [inline]

Get Texture index.

Return values:
m_iId Texture index

Definition at line 62 of file K3dTexture.h.

References m_iId.

Referenced by K3dScene::Delete(), K3dFontBmp::LoadBmpFonts(), K2dImageBuild::LoadImages(), and K3dSphereBuild::LoadSpheres().


Member Data Documentation

int K3dTexture::m_iWidth [private]

Texture width.

Definition at line 38 of file K3dTexture.h.

Referenced by GetWidth().

int K3dTexture::m_iHeight [private]

Texture height.

Definition at line 39 of file K3dTexture.h.

Referenced by GetHeight().

GLuint K3dTexture::m_iId [private]

Texture index.

Definition at line 40 of file K3dTexture.h.

Referenced by GetId().


The documentation for this class was generated from the following files:
Generated on Thu Aug 16 23:53:34 2007 for K3dEngine by  doxygen 1.5.0