MochiEngine
Loading...
Searching...
No Matches
Mochi::Graphics::DummyRenderer Class Reference
Inheritance diagram for Mochi::Graphics::DummyRenderer:
Mochi::Graphics::IRenderer

Public Member Functions

virtual void StartFrameRendering () const override
 Initializes a frame.
virtual void Render (std::vector< RenderCommand > renderQueue, Camera *camera) const override
 Actually renders the contents of the render queue projected on the camera.
virtual void FinishRendering () const override
 Finishes a frame rendering.
virtual std::unique_ptr< AbstractTextureFactoryCreateTextureFactory (FS::PackCatalog *) const override
 Creates (without ownership) a texture factory of the type compatible with the renderer.
virtual std::unique_ptr< AbstractGUICreateGUI (FS::PackCatalog *catalog, Input::IActionManager *actionManager) override
 Creates (without ownership) the GUI system compatible with the renderer.
virtual std::unique_ptr< Debug::IGizmosCreateGizmos () override
 Creates (without ownership) a gizmos system compatible with the renderer. This system is only relevant on debug mode.

Member Function Documentation

◆ CreateGizmos()

virtual std::unique_ptr< Debug::IGizmos > Mochi::Graphics::DummyRenderer::CreateGizmos ( )
inlineoverridevirtual

Creates (without ownership) a gizmos system compatible with the renderer. This system is only relevant on debug mode.

Returns
A unique pointer to the created gizmos system.

Implements Mochi::Graphics::IRenderer.

◆ CreateGUI()

virtual std::unique_ptr< AbstractGUI > Mochi::Graphics::DummyRenderer::CreateGUI ( FS::PackCatalog * catalog,
Input::IActionManager * actionManager )
inlineoverridevirtual

Creates (without ownership) the GUI system compatible with the renderer.

Parameters
catalogThe file catalog used for the GUI system to load files from.
actionManagerThe action manager, used to manage UI interactions.
Returns
A unique pointer to the created gui system.

Implements Mochi::Graphics::IRenderer.

◆ CreateTextureFactory()

virtual std::unique_ptr< AbstractTextureFactory > Mochi::Graphics::DummyRenderer::CreateTextureFactory ( FS::PackCatalog * catalog) const
inlineoverridevirtual

Creates (without ownership) a texture factory of the type compatible with the renderer.

Parameters
catalogThe file catalog used for the factory to load files from.
Returns
A unique pointer to the created texture factory.

Implements Mochi::Graphics::IRenderer.

◆ FinishRendering()

virtual void Mochi::Graphics::DummyRenderer::FinishRendering ( ) const
inlineoverridevirtual

Finishes a frame rendering.

Implements Mochi::Graphics::IRenderer.

◆ Render()

virtual void Mochi::Graphics::DummyRenderer::Render ( std::vector< RenderCommand > renderQueue,
Camera * camera ) const
inlineoverridevirtual

Actually renders the contents of the render queue projected on the camera.

Parameters
renderQueueThe vector of render commands to be drawn.
cameraThe camera on which to project the rendering.

Implements Mochi::Graphics::IRenderer.

◆ StartFrameRendering()

virtual void Mochi::Graphics::DummyRenderer::StartFrameRendering ( ) const
inlineoverridevirtual

Initializes a frame.

Implements Mochi::Graphics::IRenderer.


The documentation for this class was generated from the following file: