Developer Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
ACG::SceneGraph::ACG::Texture Class Reference
Inheritance diagram for ACG::SceneGraph::ACG::Texture:
ACG::SceneGraph::ACG::Texture1D ACG::SceneGraph::ACG::Texture2D ACG::SceneGraph::ACG::Texture3D ACG::SceneGraph::ACG::TextureBuffer

Public Member Functions

 Texture (GLenum tgt, GLenum _unit=GL_NONE)
void bind (GLenum _unit)
void activate (GLenum _unit)
void bind ()
void activate ()
void parameter (GLenum pname, GLint i)
void parameter (GLenum pname, GLfloat f)
void parameter (GLenum pname, GLint *ip)
void parameter (GLenum pname, GLfloat *fp)
void enable ()
void disable ()
void del ()
void gen ()
bool is_valid () const
GLuint id () const
void setUnit (GLenum u)
GLenum getUnit () const
GLenum getTarget () const
GLint getInternalFormat ()
bool clear (const ACG::Vec4f &_color)
bool clear (const ACG::Vec4i &_color)
bool clear (const ACG::Vec4ui &_color)
void bindAsImage (GLuint _index, GLenum _access)

Static Public Member Functions

static bool supportsImageLoadStore ()
static bool supportsTextureBuffer ()
static bool supportsClearTexture ()
static bool supportsGenerateMipmap ()

Protected Attributes

GLint internalFormat_

Private Attributes

GLenum target
GLenum unit
bool valid
GLuint texture

Detailed Description

Definition at line 243 of file

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