class SG_EXPORT osg::CullFace: public Object

Class to globally enable/disable OpenGL's polygon culling mode (GL_CULL_FACE)

Inheritance:


Public Classes

[more]enum Mode

Public Methods

[more] CullFace()
[more]static CullFace* instance()
[more]virtual bool isSameKindAs(Object* obj)
[more]virtual Object* clone() const
[more]virtual const char* className() const
[more]void setMode(Mode mode)
[more]static void enable()
Enable the polygon culling mode
[more]static void disable()
Disable the polygon culling mode
[more]void apply()

Protected Fields

[more]Mode _mode

Protected Methods

[more]virtual ~CullFace()
[more]virtual bool readLocalData(Input& fr)
[more]virtual bool writeLocalData(Output& fw)


Inherited from Object:

Public Methods

ovirtual Object* readClone(Input& fr)
ovirtual bool write(Output& fw)


Inherited from Referenced:

Public Methods

oReferenced& operator = (Referenced&)
ovoid ref()
ovoid unref()
oint referenceCount()

Protected Fields

oint _refCount


Documentation

Class to globally enable/disable OpenGL's polygon culling mode (GL_CULL_FACE)
oenum Mode

o FRONT

o BACK

o FRONT_AND_BACK

o CullFace()

ostatic CullFace* instance()

ovirtual bool isSameKindAs(Object* obj)

ovirtual Object* clone() const

ovirtual const char* className() const

ovoid setMode(Mode mode)

ostatic void enable()
Enable the polygon culling mode

ostatic void disable()
Disable the polygon culling mode

ovoid apply()

ovirtual ~CullFace()

ovirtual bool readLocalData(Input& fr)

ovirtual bool writeLocalData(Output& fw)

oMode _mode


This class has no child classes.

Alphabetic index HTML hierarchy of classes or Java



This page was generated with the help of DOC++.