Code_TYMPAN  4.4.0
Industrial site acoustic simulation
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
OGLTexture Class Referenceabstract

#include <OGLTexture.h>

Inheritance diagram for OGLTexture:
Inheritance graph
[legend]
Collaboration diagram for OGLTexture:
Collaboration graph
[legend]

Public Member Functions

 OGLTexture ()
 
virtual ~OGLTexture ()
 
virtual bool load (const char *filename)=0
 
virtual void bind ()
 
virtual void free ()
 
- Public Member Functions inherited from IRefCount
 IRefCount ()
 
virtual ~IRefCount ()
 
virtual int incRef ()
 
virtual int decRef ()
 
int getRefCount () const
 

Protected Member Functions

void genTexture ()
 

Protected Attributes

GLuint id
 
- Protected Attributes inherited from IRefCount
int m_refCount
 The reference counter. More...
 

Detailed Description

Interface pour la gestion des textures OpengGL.

Definition at line 36 of file OGLTexture.h.

Constructor & Destructor Documentation

◆ OGLTexture()

OGLTexture::OGLTexture ( )

Definition at line 22 of file OGLTexture.cpp.

◆ ~OGLTexture()

OGLTexture::~OGLTexture ( )
virtual

Definition at line 27 of file OGLTexture.cpp.

Here is the call graph for this function:

Member Function Documentation

◆ bind()

void OGLTexture::bind ( )
virtual

Definition at line 32 of file OGLTexture.cpp.

Here is the caller graph for this function:

◆ free()

void OGLTexture::free ( )
virtual

Definition at line 37 of file OGLTexture.cpp.

Here is the caller graph for this function:

◆ genTexture()

void OGLTexture::genTexture ( )
protected

Definition at line 46 of file OGLTexture.cpp.

Here is the caller graph for this function:

◆ load()

virtual bool OGLTexture::load ( const char *  filename)
pure virtual

Implemented in OGLTexture2D, and OGLFont.

Member Data Documentation

◆ id

GLuint OGLTexture::id
protected

Definition at line 63 of file OGLTexture.h.


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