1 #ifndef GAMERENDERER_HPP
2 #define GAMERENDERER_HPP
Definition: GameController.hpp:7
double time
Definition: GameRenderer.hpp:63
ECS entity, Component container It is created like this:
Definition: Entity.hpp:23
Definition: SubRenderer.hpp:14
void renderEntity(radix::RenderContext &rc, const radix::Entity &e)
Renders a single entity regardless of shading.
Definition: Screen.hpp:10
void renderViewFrames(radix::RenderContext &rc)
static void setCameraInPortal(const radix::Camera &cam, radix::Camera &dest, const radix::Entity &portal, const radix::Entity &otherPortal)
Set the camera in the portal so rendering from that portal is possible.
Definition: Camera.hpp:11
GameRenderer(World &w, radix::Renderer &ren, radix::Camera *cam, double *ptime)
Definition: RenderContext.hpp:15
void renderViewFrameStencil(radix::RenderContext &rc)
double * dtime
Definition: GameRenderer.hpp:62
radix::Camera * camera
Definition: GameRenderer.hpp:61
Main renderer - handles sub-renderers and provides low level render functions.
Definition: Renderer.hpp:35
void renderScene(radix::RenderContext &rc)
Renders the scene with provided camera parameters.
Definition: GameRenderer.hpp:21
void renderPlayer(radix::RenderContext &rc)
Renders the player character using ambient shading.
void renderEntities(radix::RenderContext &rc)
Renders all the entities in the scene regardless of shading.