|
GL++
0.1
OpenGL API C++ Wrapper
|
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 &) | |
| noncopyable & | operator= (noncopyable &) |
Protected Member Functions | |
| texture_unit_t (context &ctx, GLenum name) | |
Protected Attributes | |
| context & | m_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. | |
| bool glpp::texture_unit_t::is_active | ( | ) | const |
Check if this texture unit is the active.
Check if this texture unit is active.