Engine → Renderer → render_scene.h
render_scene
| Type | Struct |
| Namespace | conjure::renderer |
| Include File Path | engine/include/conjure/renderer/render_scene.h |
| Source File Path | engine/src/renderer/render_scene.cpp |
| API ↗ | Rendering, Rendering a frame |
Syntax
Variables
| Access | Name | Type | Default | Description |
|---|---|---|---|---|
| public | antiAliasing | anti_aliasing_settings | {} | |
| public | debugDraw | debug_draw_buffer | {} | |
| public | deltaSeconds | f32 | 0.0f | |
| public | environment | environment_settings | {} | |
| public | frameIndex | u64 | 0 | |
| public | lights | std::vector<light> | {} | |
| public | meshes | std:: | {} | |
| public | postProcess | post_process_settings | {} | |
| public | shadows | shadow_settings | {} | |
| public | sprites | std::vector<sprite> | {} | |
| public | ssao | ssao_settings | {} | |
| public | views | std::vector<render_view> | {} |
Functions
Public
allocate_meshes
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.