class OSGUTIL_EXPORT osgUtil::RenderToTextureStage

RenderBin base class

Inheritance:


Public Methods

[more] RenderToTextureStage()
[more]virtual osg::Object* cloneType() const
[more]virtual osg::Object* clone(const osg::CopyOp&) const
[more]virtual bool isSameKindAs(const osg::Object* obj) const
[more]virtual const char* className() const
[more]virtual void reset()
[more]void setTexture(osg::Texture* texture)
[more]osg::Texture* getTexture()
[more]virtual void draw(osg::State& state, RenderLeaf*& previous)

Protected Fields

[more]osg::ref_ptr<osg::Texture> _texture

Protected Methods

[more]virtual ~RenderToTextureStage()


Inherited from RenderStage:

Public Fields

oDependencyList _dependencyList
oosg::ref_ptr<osg::Camera> _camera
oosg::ref_ptr<osg::Viewport> _viewport
oGLbitfield _clearMask
oosg::ref_ptr<osg::ColorMask> _colorMask
oosg::Vec4 _clearColor
oosg::Vec4 _clearAccum
odouble _clearDepth
oint _clearStencil
omutable osg::ref_ptr<RenderStageLighting> _renderStageLighting

Public Methods

ovoid setViewport(osg::Viewport* viewport)
oconst osg::Viewport* getViewport() const
oosg::Viewport* getViewport()
ovoid setClearMask(const GLbitfield mask)
oconst GLbitfield getClearMask() const
ovoid setColorMask(osg::ColorMask* cm)
oosg::ColorMask* getColorMask()
oconst osg::ColorMask* getColorMask() const
ovoid setClearColor(const osg::Vec4& color)
oconst osg::Vec4& getClearColor() const
ovoid setClearAccum(const osg::Vec4& color)
oconst osg::Vec4& getClearAccum() const
ovoid setClearDepth(const double depth)
oconst double getClearDepth() const
ovoid setClearStencil(const int stencil)
oconst int getClearStencil() const
ovoid setCamera(osg::Camera* camera)
oosg::Camera* getCamera()
oconst osg::Camera* getCamera() const
ovoid setRenderStageLighting(RenderStageLighting* rsl)
oRenderStageLighting* getRenderStageLighting() const
ovirtual void addLight(osg::Light* light, osg::Matrix* matrix)
ovoid addToDependencyList(RenderStage* rs)
obool getStats(osg::Statistics* primStats)

Public Members

otypedef std::vector< osg::ref_ptr<RenderStage> > DependencyList bool _stageDrawnThisFrame


Inherited from RenderBin:

Public Fields

oint _binNum
oRenderBin* _parent
oRenderStage* _stage
oRenderBinList _bins
oRenderGraphList _renderGraphList

Public Methods

otypedef std::map< int, osg::ref_ptr<RenderBin> >static RenderBinList RenderBin* createRenderBin(const std::string& binName)
ostatic void addRenderBinPrototype(RenderBin* proto)
ostatic void removeRenderBinPrototype(RenderBin* proto)
oRenderBin* find_or_insert(int binNum, const std::string& binName)
ovoid addRenderGraph(RenderGraph* rg)
ovoid sort()
ovirtual void sort_local()
ovirtual void draw_local(osg::State& state, RenderLeaf*& previous)
ovoid getPrims(osg::Statistics* primStats)
obool getPrims(osg::Statistics* primStats, const int nbin)

Public Members

otypedef std::map< std::string, osg::ref_ptr<RenderBin> >static RenderBinPrototypeList RenderBinPrototypeList s_renderBinPrototypeList


Documentation

RenderBin base class
o RenderToTextureStage()

ovirtual osg::Object* cloneType() const

ovirtual osg::Object* clone(const osg::CopyOp&) const

ovirtual bool isSameKindAs(const osg::Object* obj) const

ovirtual const char* className() const

ovirtual void reset()

ovoid setTexture(osg::Texture* texture)

oosg::Texture* getTexture()

ovirtual void draw(osg::State& state, RenderLeaf*& previous)

ovirtual ~RenderToTextureStage()

oosg::ref_ptr<osg::Texture> _texture


This class has no child classes.

Alphabetic index HTML hierarchy of classes or Java



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