Raven Engine v0.1
A modern 3D Game Engine
Loading...
Searching...
No Matches
Raven::RendererConfig Struct Reference

Configuration options controlling renderer behavior at startup. More...

#include <IllumineRenderer.h>

Public Member Functions

template<typename F>
void Reflect (F var)

Public Attributes

u32 FramesInFlight = 2
 Number of frames processed concurrently. Clamped to [1, MAX_FRAMES_IN_FLIGHT].
bool VSync = true
 Enables vertical sync on the swapchain.
bool EnablePipelineStatistics = false
 Enables Vulkan pipeline statistics queries.

Detailed Description

Configuration options controlling renderer behavior at startup.

Serializable via the Reflect() template. Values are validated and clamped during IllumineRenderer::Init().

Member Function Documentation

◆ Reflect()

template<typename F>
void Raven::RendererConfig::Reflect ( F var)
inline

Member Data Documentation

◆ EnablePipelineStatistics

bool Raven::RendererConfig::EnablePipelineStatistics = false

Enables Vulkan pipeline statistics queries.

◆ FramesInFlight

u32 Raven::RendererConfig::FramesInFlight = 2

Number of frames processed concurrently. Clamped to [1, MAX_FRAMES_IN_FLIGHT].

◆ VSync

bool Raven::RendererConfig::VSync = true

Enables vertical sync on the swapchain.


The documentation for this struct was generated from the following file: