Rendering System.
More...
#include <RenderingSystem.hpp>
◆ RenderingSystem()
RenderingSystem::RenderingSystem |
( |
Scene * | scene, |
|
|
Board * | board ) |
|
inline |
Initialize the Rendering System.
- Parameters
-
scene | Current scene |
sdlLayer | SDL Layer |
board | Game board |
◆ ~RenderingSystem()
RenderingSystem::~RenderingSystem |
( |
| ) |
|
|
inline |
Destroy the Rendering System.
◆ GetImGuiLayer()
ImGuiLayer * RenderingSystem::GetImGuiLayer |
( |
| ) |
const |
|
inline |
Get the Im Gui Layer object.
- Returns
- ImGuiLayer*
◆ GetSDLLayer()
SDLLayer * RenderingSystem::GetSDLLayer |
( |
| ) |
const |
|
inline |
Get the SDL Layer object.
- Returns
- SDL_Layer*
◆ GetWindowTexture()
SDL_Texture * RenderingSystem::GetWindowTexture |
( |
| ) |
|
Get an SDL Texture of the SDL Viewport.
- Returns
- SDL_Texture* The SDL Texture
◆ Render()
void RenderingSystem::Render |
( |
| ) |
|
Renders the ImGui Editor and the SDL scene to the ImGui Window as a texture.
◆ SDLRender()
void RenderingSystem::SDLRender |
( |
bool & | showColliders | ) |
const |
Render the SDL scene to the renderer.
- Parameters
-
showColliders | Render colliders to SDL |
The documentation for this class was generated from the following files: