EarthSky is a Group node which controls the clearing of the color and depth buffers at the start of each frame.
Inheritance:
Public Methods
-
EarthSky()
-
EarthSky(const EarthSky& es, const CopyOp& copyop=CopyOp::SHALLOW_COPY)
-
META_Node(EarthSky)
-
inline void setRequiresClear(const bool requiresClear)
- Sets the flag which control whether a glClear is required at the beginning of each frame.
-
inline const bool getRequiresClear() const
- Gets the flag which control whether a glClear is required at the beginning of each frame.
-
inline void setClearColor(const Vec4& color)
- Sets the clear color.
-
inline const Vec4& getClearColor() const
- Returns the clear color.
Protected Fields
-
bool _requiresClear
-
Vec4 _clearColor
Protected Methods
-
virtual ~EarthSky()
Inherited from Group:
Public Methods
-
virtual void traverse(NodeVisitor& nv)
-
virtual bool addChild( Node* child )
-
virtual bool removeChild( Node* child )
-
virtual bool replaceChild( Node* origChild, Node* newChild )
-
inline const unsigned int getNumChildren() const
-
inline Node* getChild( const unsigned int i )
-
inline const Node* getChild( const unsigned int i ) const
-
inline bool containsNode( const Node* node ) const
-
inline ChildList::iterator findNode( const Node* node )
-
inline ChildList::const_iterator findNode( const Node* node ) const
Protected Fields
-
ChildList _children
Protected Methods
-
virtual const bool computeBound() const
Documentation
EarthSky is a Group node which controls the clearing of the color and depth
buffers at the start of each frame.
The earth sky by default is empty and simply holds the clear color of
the background. However, if the uses wants to add their own clearing of
the color and depth buffers then the children can be added, and the
background clear turned off. The EarthSky by default has StateSet attached
to it which sets the default EarthSky bin number to -1, so that all drawables
below it are placed in a separate bin from the rest of the scene graph, and
are rendered prior to standard opaque and transparent drawables.
- EarthSky()
- EarthSky(const EarthSky& es, const CopyOp& copyop=CopyOp::SHALLOW_COPY)
- META_Node(EarthSky)
- inline void setRequiresClear(const bool requiresClear)
- Sets the flag which control whether a glClear is required at the beginning of each frame.
- inline const bool getRequiresClear() const
- Gets the flag which control whether a glClear is required at the beginning of each frame.
- inline void setClearColor(const Vec4& color)
- Sets the clear color.
- inline const Vec4& getClearColor() const
- Returns the clear color.
- virtual ~EarthSky()
- bool _requiresClear
- Vec4 _clearColor
- This class has no child classes.
Alphabetic index HTML hierarchy of classes or Java
This page was generated with the help of DOC++.