Logo Search packages:      
Sourcecode: performous version File versions  Download package

OpenGLTexture< Type > Class Template Reference

#include <surface.hh>

List of all members.


Detailed Description

template<GLenum Type>
class OpenGLTexture< Type >

A RAII wrapper for allocating/deallocating OpenGL texture ID.

Definition at line 69 of file surface.hh.


Public Member Functions

void draw (Dimensions const &dim, TexCoords const &tex) const
GLuint id () const

Static Public Member Functions

static GLenum type ()

Private Attributes

GLuint m_id

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

Generated by  Doxygen 1.6.0   Back to index