Sleeping Wombat GUI  0.100
swGUI
RenderingSystem.h
Go to the documentation of this file.
1 #pragma once
2 
12 
13 
14 
20 
21 namespace sw {
22 namespace gui
23 {
24 
25 
30 {
31 private:
32 
33  IRendererOPtr m_renderer;
35 
36 protected:
37 public:
38  explicit RenderingSystem ( ResourceManager* resourceManager, IRendererOPtr&& renderer );
39  ~RenderingSystem () = default;
40 
44  IRenderer* GetRenderer () const { return m_renderer.get(); }
45 };
46 
47 DEFINE_OPTR_TYPE( RenderingSystem );
48 
49 
50 } // gui
51 } // sw
52 
RenderingSystem(ResourceManager *resourceManager, IRendererOPtr &&renderer)
Definition: RenderingSystem.cpp:17
Definition: DirectInputModule.cpp:11
Klasa interfejsu renderera.
Definition: IRenderer.h:29
DEFINE_OPTR_TYPE(IRenderer)
ResourceManager * m_resourceManager
Definition: RenderingSystem.h:34
IRendererOPtr m_renderer
Definition: RenderingSystem.h:33
DEFINE_OPTR_TYPE(UIElement)
Deklaracja interfejsu IGraphicAPIInitializer.
IRenderer * GetRenderer() const
Returns renderer. You probably don't need it. Use only if you write graphic application which renders...
Definition: RenderingSystem.h:44
GUI rendering system.
Definition: RenderingSystem.h:29
Manager for low level resources.
Definition: ResourceManager.h:24