SCV  4.2.1
Simple Components for Visual
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
scv::TextureInterface Class Referenceabstract

This class encapsulates OpenGL texture. More...

#include <TextureInterface.h>

Inheritance diagram for scv::TextureInterface:
scv::Texture2D

Public Member Functions

 TextureInterface (void)
 
virtual ~TextureInterface ()
 
virtual void display (const Point &translate)=0
 
void setTextureEnvMode (GLfloat param)
 
GLuint getTextureId (void) const
 
GLsizei getWidth (void) const
 
GLsizei getHeight (void) const
 

Protected Attributes

GLuint _textureId
 
GLsizei _textureSize [2]
 
GLfloat _textureEnvMode
 

Detailed Description

This class encapsulates OpenGL texture.

Constructor & Destructor Documentation

scv::TextureInterface::TextureInterface ( void  )
inline
virtual scv::TextureInterface::~TextureInterface ( )
inlinevirtual

Member Function Documentation

virtual void scv::TextureInterface::display ( const Point translate)
pure virtual
GLsizei scv::TextureInterface::getHeight ( void  ) const
inline
GLuint scv::TextureInterface::getTextureId ( void  ) const
inline
GLsizei scv::TextureInterface::getWidth ( void  ) const
inline
void scv::TextureInterface::setTextureEnvMode ( GLfloat  param)
inline

Member Data Documentation

GLfloat scv::TextureInterface::_textureEnvMode
protected
GLuint scv::TextureInterface::_textureId
protected
GLsizei scv::TextureInterface::_textureSize[2]
protected

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