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

Runtime statistics and shared renderer resources. More...

#include <IllumineRenderer.h>

Public Attributes

Ref< ShaderLibrary > ShaderLibrary
 Global shader library shared across all render passes.
Ref< MaterialRegistry > MaterialRegistry
 Global material registry.
PipelineStatistics PipelineStats
 GPU pipeline statistics for the last completed frame.
u32 DrawCalls = 0
 Number of draw calls issued in the current frame.
u32 LastFrameDrawCalls = 0

Detailed Description

Runtime statistics and shared renderer resources.

Holds per-frame counters and globally shared resource registries. Accessible via IllumineRenderer::GetRenderData().

Member Data Documentation

◆ DrawCalls

u32 Raven::RendererData::DrawCalls = 0

Number of draw calls issued in the current frame.

◆ LastFrameDrawCalls

u32 Raven::RendererData::LastFrameDrawCalls = 0

◆ MaterialRegistry

Ref<MaterialRegistry> Raven::RendererData::MaterialRegistry

Global material registry.

◆ PipelineStats

PipelineStatistics Raven::RendererData::PipelineStats

GPU pipeline statistics for the last completed frame.

◆ ShaderLibrary

Ref<ShaderLibrary> Raven::RendererData::ShaderLibrary

Global shader library shared across all render passes.


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