GL++  0.1
OpenGL API C++ Wrapper
 All Classes Namespaces Functions Variables Typedefs Enumerations Friends Groups Pages
glpp::texture_unit_t Struct Reference
Inheritance diagram for glpp::texture_unit_t:
glpp::named_object< GLenum > glpp::noncopyable

Public Member Functions

void activate ()
 Activate this texture unit (deactivate previous one)
bool is_active () const
 Check if this texture unit is the active.
void bind_texture (const texture &tex)
 Bind a texture on this unit.
void unbind_texture (texture_type tex_type)
 Unbind any texture from a specific target.
- Public Member Functions inherited from glpp::named_object< GLenum >
name_type object_name () const
 Return the name of object (handle)
- Public Member Functions inherited from glpp::noncopyable
 noncopyable (noncopyable &)
noncopyableoperator= (noncopyable &)

Protected Member Functions

 texture_unit_t (context &ctx, GLenum name)

Protected Attributes

contextm_ctx
- Protected Attributes inherited from glpp::named_object< GLenum >
GLenum m_gl_name
 Stored object name.

Friends

class context

Additional Inherited Members

- Public Types inherited from glpp::named_object< GLenum >
typedef GLenum name_type
 Type of the name.

Member Function Documentation

bool glpp::texture_unit_t::is_active ( ) const

Check if this texture unit is the active.

Check if this texture unit is active.


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