Code_TYMPAN  4.4.0
Industrial site acoustic simulation
Public Member Functions | List of all members
OGLTexture2D Class Reference

#include <OGLTexture2D.h>

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

Public Member Functions

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

Additional Inherited Members

- Protected Member Functions inherited from OGLTexture
void genTexture ()
 
- Protected Attributes inherited from OGLTexture
GLuint id
 
- Protected Attributes inherited from IRefCount
int m_refCount
 The reference counter. More...
 

Detailed Description

Classe pour la gestion des textures 2D OpengGL.

Definition at line 31 of file OGLTexture2D.h.

Constructor & Destructor Documentation

◆ OGLTexture2D()

OGLTexture2D::OGLTexture2D ( )

Definition at line 25 of file OGLTexture2D.cpp.

◆ ~OGLTexture2D()

OGLTexture2D::~OGLTexture2D ( )
virtual

Definition at line 27 of file OGLTexture2D.cpp.

Member Function Documentation

◆ load()

bool OGLTexture2D::load ( const char *  filename)
virtual

Implements OGLTexture.

Definition at line 29 of file OGLTexture2D.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

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