gz/rendering/ogre/OgreRenderTarget.hh
Go to the documentation of this file.
Definition: gz/rendering/base/BaseRenderTarget.hh:38
Definition: gz/rendering/base/BaseRenderTarget.hh:101
Definition: gz/rendering/base/BaseRenderTarget.hh:114
Encapsulates a raw image buffer and relevant properties.
Definition: gz/rendering/Image.hh:40
Definition: gz/rendering/ogre/OgreRenderTarget.hh:45
Ogre::Viewport * AddViewport(Ogre::Camera *_viewport)
virtual void SetVisibilityMask(uint32_t _mask)
Set visibility mask for the viewport associated with this render target.
virtual void Render()
virtual void RebuildViewport()
virtual unsigned int AntiAliasing() const
void SetAutoUpdated(const bool _value)
virtual void Copy(Image &_image) const override
Write rendered image to given Image. The RenderTarget will convert the underlying image to the specif...
virtual void SetCamera(Ogre::Camera *_camera)
void RebuildMaterial()
Re-initializes render target material to apply a material to everything in the scene....
Ogre::Viewport * Viewport(const int _viewportId) const
virtual Ogre::RenderTarget * RenderTarget() const =0
virtual void UpdateRenderPassChain()
Update render pass chain if changes were made.
virtual void SetBackgroundColor(math::Color _color)
Ogre::ColourValue ogreBackgroundColor
Definition: gz/rendering/ogre/OgreRenderTarget.hh:124
virtual void PreRender() override
Prepare this object and any of its children for rendering. This should be called for each object in a...
virtual ~OgreRenderTarget()
OgreRenderTarget()
virtual void PostRender() override
Post process this object and any of its children after rendering.
void SetMaterial(MaterialPtr _material)
Set a material to render on every object. This method is used for special cases like the render targe...
virtual void RebuildTarget()=0
void SetUpdate(const bool _value)
virtual void SetAntiAliasing(unsigned int _aa)
OgreRenderTargetMaterialPtr materialApplicator
Helper class that applies the material to the render target.
Definition: gz/rendering/ogre/OgreRenderTarget.hh:130
virtual void Destroy() override=0
virtual void UpdateBackgroundColor()
virtual math::Color BackgroundColor() const override
Get the background color of the render target. This should be the same as the scene background color.
virtual void RebuildImpl() override
virtual Ogre::Camera * Camera() const
MaterialPtr material
a material used by for the render target
Definition: gz/rendering/ogre/OgreRenderTarget.hh:127
Definition: gz/rendering/ogre/OgreRenderTarget.hh:142
virtual void BuildTarget()
virtual Ogre::RenderTarget * RenderTarget() const override
virtual void RebuildTarget() override
virtual void DestroyTarget()
virtual void PreRender() override
Prepare this object and any of its children for rendering. This should be called for each object in a...
virtual void Buffer(float *buffer)
virtual void PostRender() override
Post process this object and any of its children after rendering.
virtual void Destroy() override
OgreRenderTexture()
virtual unsigned int GLId()
virtual ~OgreRenderTexture()
Definition: gz/rendering/ogre/OgreRenderTarget.hh:175
virtual void BuildTarget()
OgreRenderWindow()
virtual void RebuildTarget()
virtual void Destroy()
virtual Ogre::RenderTarget * RenderTarget() const
virtual ~OgreRenderWindow()
Definition: gz/rendering/ogre/OgreScene.hh:41
Non owning, writable view of a caller owned pixel buffer.
Definition: gz/rendering/PixelBuffer.hh:49
#define IGN_VISIBILITY_ALL
Render everything visibility mask.
Definition: gz/rendering/RenderTypes.hh:26
Definition: gz/rendering/ogre/OgreCamera.hh:28