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

#include <scoped.h>

Inherits cinder::Noncopyable.

Public Member Functions

 ScopedFaceCulling (bool cull)
 
 ScopedFaceCulling (bool cull, GLenum cullFace)
 
 ~ScopedFaceCulling ()
 

Detailed Description

Scopes state of face culling.

Constructor & Destructor Documentation

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 ( )

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