class RendererFactory

Factory class for creating Renderer objects.

Implement this class for any custom renderer classes you may have, and register it with renderer manager.

Public

Methods

~RendererFactory

virtual ~RendererFactory() = default

Create

virtual SPtr<render::Renderer> Create() = 0

Creates a new instance of the renderer.

Name

virtual const String &Name() const = 0

Returns the name of the renderer this factory creates.