|
Finality Engine
|
Collects scene render packets through the engine rendering facade. More...
#include <Renderer.h>
Public Member Functions | |
| Renderer ()=default | |
| ~Renderer ()=default | |
| Renderer (const Renderer &)=delete | |
| Renderer & | operator= (const Renderer &)=delete |
Static Public Member Functions | |
| static void | Initialize (RenderDevice *device) |
| Connects the rendering facade to a graphics backend. | |
| static void | Shutdown () |
| static void | BeginScene () |
| static void | EndScene () |
| static void | PushEntity (Entity entity) |
| static void | PushEntity (Entity entity, const glm::mat4 &worldTransform) |
| static void | ConfigureLODGroups (const Scene &scene) |
| static RenderDevice * | GetDevice () |
| static void | SetActiveCamera (Camera *camera) |
| static Camera * | GetActiveCamera () |
| static void | SetPostProcessPipeline (std::shared_ptr< Pipeline > pipeline) |
| static std::shared_ptr< Pipeline > | CreatePostProcessPipeline (const PipelineConfig &config) |
| static uint32_t | GetSubmittedCount () |
| static uint32_t | GetCulledCount () |
| static const std::vector< RenderPacket > & | GetRenderQueue () |
| static void | SetDirectRenderingEnabled (bool enabled) |
| static bool | IsDirectRenderingEnabled () |
| static void | SetFrustumCullingEnabled (bool enabled) |
Static Protected Member Functions | |
| static bool | TryGetCullingFrustum (const Frustum *&outFrustum) |
| static bool | IsFrustumCullingEnabled () |
Collects scene render packets through the engine rendering facade.
Renderer connects scene entities to a RenderDevice and maintains the render queue and active camera. Per-view visibility and backend recording are separate from authored scene components.
Definition at line 34 of file Renderer.h.
|
default |
|
default |
|
delete |
|
static |
Connects the rendering facade to a graphics backend.
| device | Live graphics device that outlives renderer use. The pointer is non-owning. Shut down the renderer before destroying its device. |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
inlinestatic |
Definition at line 57 of file Renderer.h.
|
inlinestatic |
Definition at line 59 of file Renderer.h.
|
inlinestatic |
Definition at line 60 of file Renderer.h.
|
static |
|
static |
|
inlinestatic |
Definition at line 65 of file Renderer.h.
|
inlinestatic |
Definition at line 66 of file Renderer.h.
|
inlinestatic |
Definition at line 67 of file Renderer.h.
|
inlinestatic |
Definition at line 69 of file Renderer.h.
|
inlinestatic |
Definition at line 70 of file Renderer.h.
|
inlinestatic |
Definition at line 72 of file Renderer.h.
|
staticprotected |
|
inlinestaticprotected |
Definition at line 88 of file Renderer.h.