|
Public Member Functions |
| | RenderStage () |
| | RenderStage (SortMode mode) |
| | RenderStage (const RenderStage &rhs, const osg::CopyOp ©op=osg::CopyOp::SHALLOW_COPY) |
| virtual osg::Object * | cloneType () const |
| virtual osg::Object * | clone (const osg::CopyOp ©op) const |
| virtual bool | isSameKindAs (const osg::Object *obj) const |
| virtual const char * | className () const |
| virtual void | reset () |
| void | setDrawBuffer (GLenum buffer) |
| GLenum | getDrawBuffer () const |
| void | setReadBuffer (GLenum buffer) |
| GLenum | getReadBuffer () const |
| void | setViewport (osg::Viewport *viewport) |
| const osg::Viewport * | getViewport () const |
| osg::Viewport * | getViewport () |
| void | setClearMask (GLbitfield mask) |
| GLbitfield | getClearMask () const |
| void | setColorMask (osg::ColorMask *cm) |
| osg::ColorMask * | getColorMask () |
| const osg::ColorMask * | getColorMask () const |
| void | setClearColor (const osg::Vec4 &color) |
| const osg::Vec4 & | getClearColor () const |
| void | setClearAccum (const osg::Vec4 &color) |
| const osg::Vec4 & | getClearAccum () const |
| void | setClearDepth (double depth) |
| double | getClearDepth () const |
| void | setClearStencil (int stencil) |
| int | getClearStencil () const |
| void | setCameraNode (osg::CameraNode *camera) |
| osg::CameraNode * | getCameraNode () |
| const osg::CameraNode * | getCameraNode () const |
| void | setCameraRequiresSetUp (bool flag) |
| bool | getCameraRequiresSetUp () const |
| void | runCameraSetUp (osg::State &state) |
| void | setTexture (osg::Texture *texture, unsigned int level=0, unsigned int face=0) |
| osg::Texture * | getTexture () |
| void | setImage (osg::Image *image) |
| osg::Image * | getImage () |
| void | setImageReadPixelFormat (GLenum format) |
| GLenum | getImageReadPixelFormat () const |
| void | setImageReadPixelDataType (GLenum type) |
| GLenum | getImageReadPixelDataType () const |
| void | setFrameBufferObject (osg::FrameBufferObject *fbo) |
| osg::FrameBufferObject * | getFrameBufferObject () |
| const osg::FrameBufferObject * | getFrameBufferObject () const |
| void | setGraphicsContext (osg::GraphicsContext *context) |
| osg::GraphicsContext * | getGraphicsContext () |
| const osg::GraphicsContext * | getGraphicsContext () const |
| void | setInheritedPositionalStateContainerMatrix (const osg::Matrix &matrix) |
| const osg::Matrix & | getInheritedPositionalStateContainerMatrix () const |
| void | setInheritedPositionalStateContainer (PositionalStateContainer *rsl) |
| PositionalStateContainer * | getInheritedPositionalStateContainer () |
| void | setPositionalStateContainer (PositionalStateContainer *rsl) |
| PositionalStateContainer * | getPositionalStateContainer () const |
| virtual void | addPositionedAttribute (osg::RefMatrix *matrix, const osg::StateAttribute *attr) |
| virtual void | addPositionedTextureAttribute (unsigned int textureUnit, osg::RefMatrix *matrix, const osg::StateAttribute *attr) |
| void | copyTexture (osg::State &state) |
| virtual void | sort () |
| virtual void | drawPreRenderStages (osg::State &state, RenderLeaf *&previous) |
| virtual void | draw (osg::State &state, RenderLeaf *&previous) |
| virtual void | drawInner (osg::State &state, RenderLeaf *&previous, bool &doCopyTexture) |
| virtual void | drawPostRenderStages (osg::State &state, RenderLeaf *&previous) |
| virtual void | drawImplementation (osg::State &state, RenderLeaf *&previous) |
| void | addToDependencyList (RenderStage *rs) |
| void | addPreRenderStage (RenderStage *rs, int order=0) |
| void | addPostRenderStage (RenderStage *rs, int order=0) |
| bool | getStats (Statistics &stats) const |
Protected Types |
typedef std::pair< int, osg::ref_ptr<
RenderStage > > | RenderStageOrderPair |
| typedef std::list< RenderStageOrderPair > | RenderStageList |
Protected Member Functions |
| virtual | ~RenderStage () |
Protected Attributes |
| bool | _stageDrawnThisFrame |
| RenderStageList | _preRenderList |
| RenderStageList | _postRenderList |
| osg::ref_ptr< osg::Viewport > | _viewport |
| GLenum | _drawBuffer |
| GLenum | _readBuffer |
| GLbitfield | _clearMask |
| osg::ref_ptr< osg::ColorMask > | _colorMask |
| osg::Vec4 | _clearColor |
| osg::Vec4 | _clearAccum |
| double | _clearDepth |
| int | _clearStencil |
| bool | _cameraRequiresSetUp |
| osg::CameraNode * | _camera |
| osg::ref_ptr< osg::Texture > | _texture |
| unsigned int | _level |
| unsigned int | _face |
| osg::ref_ptr< osg::Image > | _image |
| GLenum | _imageReadPixelFormat |
| GLenum | _imageReadPixelDataType |
| osg::ref_ptr< osg::FrameBufferObject > | _fbo |
| osg::ref_ptr< osg::GraphicsContext > | _graphicsContext |
| osg::Matrix | _inheritedPositionalStateContainerMatrix |
| osg::ref_ptr< PositionalStateContainer > | _inheritedPositionalStateContainer |
| osg::ref_ptr< PositionalStateContainer > | _renderStageLighting |