Cinder  0.9.1
Public Member Functions | List of all members
cinder::gl::ScopedActiveTexture Struct Reference

#include <scoped.h>

Inherits cinder::Noncopyable.

Public Member Functions

 ScopedActiveTexture (uint8_t textureUnit)
 
 ~ScopedActiveTexture ()
 

Constructor & Destructor Documentation

cinder::gl::ScopedActiveTexture::ScopedActiveTexture ( uint8_t  textureUnit)

Sets the currently active texture through glActiveTexture. Expects values relative to 0, not GL_TEXTURE0.

cinder::gl::ScopedActiveTexture::~ScopedActiveTexture ( )

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