![]() |
Cinder
0.9.1
|
#include <scoped.h>
Inherits cinder::Noncopyable.
Public Member Functions | |
ScopedFaceCulling (bool cull) | |
ScopedFaceCulling (bool cull, GLenum cullFace) | |
~ScopedFaceCulling () | |
Scopes state of face culling.
cinder::gl::ScopedFaceCulling::ScopedFaceCulling | ( | bool | cull | ) |
Enables or disables polygon culling based on cull.
cinder::gl::ScopedFaceCulling::ScopedFaceCulling | ( | bool | cull, |
GLenum | cullFace | ||
) |
Enables or disables polygon culling based on cull and specifies a mode, either GL_BACK
or GL_FRONT.
cinder::gl::ScopedFaceCulling::~ScopedFaceCulling | ( | ) |