Skip to content

Engine → Renderer → render_scene.h

render_scene

Syntax

struct CONJURE_API render_scene

Variables

AccessNameTypeDefaultDescription
publicantiAliasinganti_aliasing_settings{}
publicdebugDrawdebug_draw_buffer{}
publicdeltaSecondsf320.0f
publicenvironmentenvironment_settings{}
publicframeIndexu640
publiclightsstd::vector<light>{}
publicmeshesstd::vector<mesh_instance>{}
publicpostProcesspost_process_settings{}
publicshadowsshadow_settings{}
publicspritesstd::vector<sprite>{}
publicssaossao_settings{}
publicviewsstd::vector<render_view>{}

Functions

Public

allocate_meshes

[[nodiscard]] std::span<mesh_instance> allocate_meshes(
    u32 count);

Resizes the mesh array once and returns the whole span so jobs can fill disjoint ranges. Every element is default-initialised.

clear

void clear() noexcept;

Clears every array but keeps capacity so steady-state frames do not allocate. Settings return to their defaults.