Google

class OSGUTIL_EXPORT osgUtil::RenderToTextureStage

RenderStage which copies the final image to an attached texture or image.

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* libraryName() const
[more]virtual const char* className() const
[more]virtual void reset()
[more]void setTexture(osg::Texture2D* texture)
[more]osg::Texture2D* getTexture()
[more]void setImage(osg::Image* image)
[more]osg::Image* getImage()
[more]virtual void draw(osg::State& state, RenderLeaf*& previous)

Protected Fields

[more]osg::ref_ptr<osg::Texture2D> _texture
[more]osg::ref_ptr<osg::Image> _image

Protected Methods

[more]virtual ~RenderToTextureStage()


Inherited from RenderStage:

Public Fields

obool _stageDrawnThisFrame
oDependencyList _dependencyList
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(GLbitfield mask)
oGLbitfield 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(double depth)
odouble getClearDepth() const
ovoid setClearStencil(int stencil)
oint getClearStencil() const
ovoid setRenderStageLighting(RenderStageLighting* rsl)
oRenderStageLighting* getRenderStageLighting() const
ovirtual void addPositionedAttribute(osg::RefMatrix* matrix, const osg::StateAttribute* attr)
ovirtual void drawPreRenderStages(osg::State& state, RenderLeaf*& previous)
ovirtual void drawImplementation(osg::State& state, RenderLeaf*& previous)
ovoid addToDependencyList(RenderStage* rs)
obool getStats(osg::Statistics* primStats)

Public Members

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


Inherited from RenderBin:

Public Fields

oint _binNum
oRenderBin* _parent
oRenderStage* _stage
oRenderBinList _bins
oRenderGraphList _renderGraphList
oRenderLeafList _renderLeafList
oSortMode _sortMode
oosg::ref_ptr<SortCallback> _sortCallback
oosg::ref_ptr<DrawCallback> _drawCallback
ostatic RenderBinPrototypeList s_renderBinPrototypeList

Public Methods

ostatic RenderBin* createRenderBin(const std::string& binName)
ostatic RenderBin* getRenderBinPrototype(const std::string& binName)
ostatic void addRenderBinPrototype(const std::string& binName, 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 sortImplementation()
ovoid setSortMode(SortMode mode)
oSortMode getSortMode() const
ovirtual void sortByState()
ovirtual void sortFrontToBack()
ovirtual void sortBackToFront()
ovoid setSortCallback(SortCallback* sortCallback)
oSortCallback* getSortCallback()
oconst SortCallback* getSortCallback() const
ovoid setDrawCallback(DrawCallback* drawCallback)
oDrawCallback* getDrawCallback()
oconst DrawCallback* getDrawCallback() const
ovoid getPrims(osg::Statistics* primStats)
obool getPrims(osg::Statistics* primStats, int nbin)
ovoid copyLeavesFromRenderGraphListToRenderLeafList()

Public Members

otypedef std::vector<RenderLeaf*> RenderLeafList
otypedef std::vector<RenderGraph*> RenderGraphList
otypedef std::map< int, osg::ref_ptr<RenderBin> > RenderBinList
oenum SortMode
ostruct SortCallback: public osg::Referenced
ostruct DrawCallback: public osg::Referenced
otypedef std::map< std::string, osg::ref_ptr<RenderBin> > RenderBinPrototypeList


Documentation

RenderStage which copies the final image to an attached texture or image. Generally used as a pre-rendering stage.
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* libraryName() const

ovirtual const char* className() const

ovirtual void reset()

ovoid setTexture(osg::Texture2D* texture)

oosg::Texture2D* getTexture()

ovoid setImage(osg::Image* image)

oosg::Image* getImage()

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

ovirtual ~RenderToTextureStage()

oosg::ref_ptr<osg::Texture2D> _texture

oosg::ref_ptr<osg::Image> _image


This class has no child classes.

Alphabetic index HTML hierarchy of classes or Java



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