gz/rendering/ogre2/Ogre2RenderEngine.hh
Go to the documentation of this file.
Definition: gz/rendering/base/BaseRenderEngine.hh:35
Plugin for loading ogre render engine.
Definition: gz/rendering/ogre2/Ogre2RenderEngine.hh:61
~Ogre2RenderEnginePlugin()=default
Destructor.
std::string Name() const
Get the name of the render engine loaded by this plugin.
RenderEngine * Engine() const
Get a pointer to the render engine loaded by this plugin.
Ogre2RenderEnginePlugin()
Constructor.
Ogre2 render engine class. A singleton class that manages the underlying ogre2 render engine,...
Definition: gz/rendering/ogre2/Ogre2RenderEngine.hh:83
Ogre::v1::OverlaySystem * OverlaySystem() const
virtual Ogre::Root * OgreRoot() const
Get the ogre2 root object.
virtual SceneStorePtr Scenes() const override
Get a pointer to the list of scenes managed by the render engine.
Ogre::CompositorWorkspaceListener * TerraWorkspaceListener() const
virtual bool IsEnabled() const override
Determines if the render-engine can be used. Despite loading and initializing the render-engine,...
virtual bool InitImpl() override
Initialize the render engine.
virtual std::string Name() const override
Get name of the render-engine.
Ogre::HlmsPbsTerraShadows * HlmsPbsTerraShadows() const
rendering::GraphicsAPI GraphicsAPI() const
Get the render engine's graphics API Note: Do not merge this forward. This has been changed to virtua...
std::vector< unsigned int > FSAALevels() const
Get a list of all supported FSAA levels for this render system.
virtual void Destroy() override
Destroys all scenes created by render-engine and releases all loaded resources. This should be called...
virtual bool LoadImpl(const std::map< std::string, std::string > &_params) override
Engine implementation of Load function.
std::string CreateRenderWindow(const std::string &_handle, const unsigned int _width, const unsigned int _height, const double _ratio, const unsigned int _antiAliasing)
Create a render window.
void AddResourcePath(const std::string &_uri) override
Add path to resource in ogre2's resource manager.
virtual ScenePtr CreateSceneImpl(unsigned int _id, const std::string &_name) override
Create a scene.
Ogre2IgnHlmsCustomizations & HlmsCustomizations()
Retrieves Hlms customizations for tweaking them.
Ogre::Window * OgreWindow() const
return the ogre window
Base plugin class for render engines.
Definition: gz/rendering/RenderEnginePlugin.hh:41
An abstract interface to a concrete render-engine. A RenderEngine is responsible for initializing a r...
Definition: gz/rendering/RenderEngine.hh:37
Definition: gz/rendering/ogre/OgreCamera.hh:28
GraphicsAPI
The graphics API used by the render engine.
Definition: gz/rendering/GraphicsAPI.hh:33