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

Context passed to UI panel callbacks during rendering. More...

#include <UIManager.h>

Public Attributes

Scene * Scene
 Pointer to the current active scene.
RendererData Stats
 Renderer statistics and data.
std::vector< GPUTimeSpanGPUTimes
std::vector< TimerDataCPUTimes

Detailed Description

Context passed to UI panel callbacks during rendering.

Provides access to the current Scene and rendering statistics for panels to use as needed.

Member Data Documentation

◆ CPUTimes

std::vector<TimerData> Raven::UIPanelContext::CPUTimes

◆ GPUTimes

std::vector<GPUTimeSpan> Raven::UIPanelContext::GPUTimes

◆ Scene

Scene* Raven::UIPanelContext::Scene

Pointer to the current active scene.

◆ Stats

RendererData Raven::UIPanelContext::Stats

Renderer statistics and data.


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