|
virtual | ~Ogre2RenderWindow () |
| Destructor.
|
|
virtual void | Destroy () override |
| Destroy any resources associated with this object. Invoking any other functions after destroying an object will result in undefined behavior.
|
|
virtual bool | IsRenderWindow () const override |
| Returns true if this is a render window.
|
|
virtual Ogre::TextureGpu * | RenderTarget () const override |
| Get a pointer to the ogre render target containing the results of the render.
|
|
| BaseRenderWindow () |
|
virtual | ~BaseRenderWindow () |
|
virtual double | DevicePixelRatio () const |
| Get the device to pixel ratio.
|
|
virtual std::string | Handle () const |
| Get the window handle that the render window is attached to.
|
|
virtual void | OnMove () |
| Alert the window of a window move event.
|
|
virtual void | OnResize (const unsigned int _width, const unsigned int _height) |
| Alert the window of a window resize event.
|
|
virtual void | SetDevicePixelRatio (const double _ratio) |
| Set the device to pixel ratio.
|
|
virtual void | SetHandle (const std::string &_handle) |
| Set the window handle to attach the render window to.
|
|
virtual | ~RenderWindow () |
| Destructor.
|
|
virtual | ~RenderTarget () |
| Destructor.
|
|
virtual void | PreRender ()=0 |
| Prepare this object and any of its children for rendering. This should be called for each object in a scene just before rendering, which can be achieved by a single call to Scene::PreRender.
|
|
virtual | ~Object () |
| Destructor.
|
|
virtual unsigned int | Id () const =0 |
| Get the object ID. This ID will be unique across all objects inside a given scene, but necessarily true for objects across different scenes.
|
|
virtual std::string | Name () const =0 |
| Get the object name. This name will be unique across all objects inside a given scene, but necessarily true for objects across different scenes.
|
|
virtual ScenePtr | Scene () const =0 |
| Get the Scene that created this object.
|
|
virtual | ~Ogre2RenderTarget () |
| Destructor.
|
|
virtual unsigned int | AntiAliasing () const |
| Get the anti-aliasing level.
|
|
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 MaterialPtr | BackgroundMaterial () const |
| Get the background material of this camera.
|
|
virtual Ogre::Camera * | Camera () const |
| Get a pointer to the internal ogre camera.
|
|
virtual void | Copy (Image &_image) const override |
| Copy the render target buffer data to an image.
|
|
unsigned int | GLIdImpl () const |
|
void | MetalIdImpl (void *_textureIdPtr) const |
|
virtual void | PostRender () override |
| Post process this object and any of its children after rendering.
|
|
void | PrepareForExternalSampling () |
| See Camera::PrepareForExternalSampling.
|
|
virtual void | PreRender () override |
| Prepare this object and any of its children for rendering. This should be called for each object in a scene just before rendering, which can be achieved by a single call to Scene::PreRender.
|
|
virtual void | Render () |
| Main render call.
|
|
virtual void | SetAntiAliasing (unsigned int _aa) |
| set the anti-aliasing level
|
|
virtual void | SetBackgroundColor (math::Color _color) |
| Set the background color of the render target.
|
|
virtual void | SetBackgroundMaterial (MaterialPtr _material) |
| Set the background material of this camera.
|
|
virtual void | SetCamera (Ogre::Camera *_camera) |
| Set the ogre camera to use for this render target.
|
|
void | SetMaterial (MaterialPtr _material) |
| Set a material to render on every object. This method is used for special cases like the render target of a depth camera.
|
|
void | SetShadowsNodeDefDirty () |
|
virtual void | SetVisibilityMask (uint32_t _mask) |
| Set visibility mask for the viewport associated with this render target.
|
|
virtual uint32_t | VisibilityMask () const |
| Get visibility mask for the viewport associated with this render target.
|
|
| BaseRenderTarget () |
|
virtual | ~BaseRenderTarget () |
|
virtual void | AddRenderPass (const RenderPassPtr &_pass) override |
| Add a render pass to the render target.
|
|
virtual PixelFormat | Format () const override |
| Set the render target image format.
|
|
virtual unsigned int | Height () const override |
| Get render target height in pixels.
|
|
virtual void | PreRender (const CameraPtr &_camera) override |
| See Object::PreRender. This function will call Object::PreRender but with the added bonus that it has access to the camera that is about to render.
|
|
virtual bool | Reinterpretable () const override |
| See SetFormat()
|
|
void | RemoveAllRenderPasses () override |
| Remove all render passes from the render target.
|
|
virtual void | RemoveRenderPass (const RenderPassPtr &_pass) override |
| Remove a render pass from the render target.
|
|
virtual RenderPassPtr | RenderPassByIndex (unsigned int _index) const override |
| Get a render pass by index.
|
|
virtual unsigned int | RenderPassCount () const override |
| Get the number of render passes applied to the render target.
|
|
virtual void | SetFormat (PixelFormat _format, bool _reinterpretable=false) override |
| Set the render target image format.
|
|
virtual void | SetHeight (const unsigned int _height) override |
| Set the render target height in pixels.
|
|
virtual void | SetWidth (const unsigned int _width) override |
| Set the render target width in pixels.
|
|
virtual unsigned int | Width () const override |
| Get render target width in pixels.
|
|
virtual | ~Ogre2Object () |
| Destructor.
|
|
virtual ScenePtr | Scene () const override |
|
virtual | ~BaseObject () |
|
virtual unsigned int | Id () const override |
|
virtual std::string | Name () const override |
|