![]() |
Cinder
0.9.1
|
#include <scoped.h>
Inherits cinder::Noncopyable.
Public Member Functions | |
ScopedActiveTexture (uint8_t textureUnit) | |
~ScopedActiveTexture () | |
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 | ( | ) |