Inheritance diagram for osgUtil::RenderStage:
Public Types | |
typedef std::vector< osg::ref_ptr< RenderStage > > | DependencyList |
Public Methods | |
RenderStage () | |
virtual osg::Object * | cloneType () const |
Clone the type of an object, with Object* return type. | |
virtual osg::Object * | clone (const osg::CopyOp &) const |
virtual bool | isSameKindAs (const osg::Object *obj) const |
virtual const char * | className () const |
return the name of the object's class type. | |
virtual void | reset () |
void | setViewport (osg::Viewport *viewport) |
Set the viewport. | |
const osg::Viewport * | getViewport () const |
Get the const viewport. | |
osg::Viewport * | getViewport () |
Get the viewport. | |
void | setClearMask (const GLbitfield mask) |
Set the clear mask used in glClear(..). | |
const GLbitfield | getClearMask () const |
Get the clear mask. | |
void | setColorMask (osg::ColorMask *cm) |
osg::ColorMask * | getColorMask () |
const osg::ColorMask * | getColorMask () const |
void | setClearColor (const osg::Vec4 &color) |
Set the clear color used in glClearColor(..). | |
const osg::Vec4 & | getClearColor () const |
Get the clear color. | |
void | setClearAccum (const osg::Vec4 &color) |
Set the clear accum used in glClearAccum(..). | |
const osg::Vec4 & | getClearAccum () const |
Get the clear accum. | |
void | setClearDepth (const double depth) |
Set the clear depth used in glClearDepth(..). | |
const double | getClearDepth () const |
Get the clear depth. | |
void | setClearStencil (const int stencil) |
Set the clear stencil value used in glClearStencil(). | |
const int | getClearStencil () const |
Get the clear color. | |
void | setRenderStageLighting (RenderStageLighting *rsl) |
RenderStageLighting * | getRenderStageLighting () const |
virtual void | addPositionedAttribute (osg::Matrix *matrix, const osg::StateAttribute *attr) |
virtual void | draw (osg::State &state, RenderLeaf *&previous) |
void | addToDependencyList (RenderStage *rs) |
bool | getStats (osg::Statistics *primStats) |
extract stats for current draw list. | |
Public Attributes | |
bool | _stageDrawnThisFrame |
DependencyList | _dependencyList |
osg::ref_ptr< osg::Viewport > | _viewport |
GLbitfield | _clearMask |
osg::ref_ptr< osg::ColorMask > | _colorMask |
osg::Vec4 | _clearColor |
osg::Vec4 | _clearAccum |
double | _clearDepth |
int | _clearStencil |
osg::ref_ptr< RenderStageLighting > | _renderStageLighting |
Protected Methods | |
virtual | ~RenderStage () |
Used for encapsulate a complete stage in rendering - setting up of viewport, the projection and model matrices and rendering the RenderBin's enclosed with this RenderStage. RenderStage also has a dependency list of other RenderStages, each of which must be called before the rendering of this stage. These 'pre' rendering stages are used for advanced rendering techniques like multistage pixel shading or impostors.
|
|
|
|
|
|
|
|
|
|
|
return the name of the object's class type. Must be defined by derived classes. Reimplemented from osgUtil::RenderBin. Reimplemented in osgUtil::RenderToTextureStage. |
|
Reimplemented from osgUtil::RenderBin. Reimplemented in osgUtil::RenderToTextureStage. |
|
Clone the type of an object, with Object* return type. Must be defined by derived classes. Reimplemented from osgUtil::RenderBin. Reimplemented in osgUtil::RenderToTextureStage. |
|
Reimplemented from osgUtil::RenderBin. Reimplemented in osgUtil::RenderToTextureStage. |
|
Get the clear accum.
|
|
Get the clear color.
|
|
Get the clear depth.
|
|
Get the clear mask.
|
|
Get the clear color.
|
|
|
|
|
|
|
|
extract stats for current draw list.
Reimplemented from osgUtil::RenderBin. |
|
Get the viewport.
|
|
Get the const viewport.
|
|
Reimplemented from osgUtil::RenderBin. Reimplemented in osgUtil::RenderToTextureStage. |
|
Reimplemented from osgUtil::RenderBin. Reimplemented in osgUtil::RenderToTextureStage. |
|
Set the clear accum used in glClearAccum(..). glClearAcumm is only called if mask & GL_ACCUM_BUFFER_BIT is true |
|
Set the clear color used in glClearColor(..). glClearColor is only called if mask & GL_COLOR_BUFFER_BIT is true |
|
Set the clear depth used in glClearDepth(..). Defaults to 1.0 glClearDepth is only called if mask & GL_DEPTH_BUFFER_BIT is true |
|
Set the clear mask used in glClear(..). Defaults to GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT. |
|
Set the clear stencil value used in glClearStencil(). Defaults to 1.0 glClearStencil is only called if mask & GL_STENCIL_BUFFER_BIT is true |
|
|
|
|
|
Set the viewport.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|