Estella 0.113.0
A fast 2D and 3D game engine powered by WebAssembly and ECS
Loading...
Searching...
No Matches
esengine::RenderFrame::Stats Struct Reference

#include <RenderFrame.hpp>

Public Attributes

u32 draw_calls = 0
u32 gpu_draws = 0
 Every draw the GPU was asked for in the frame, every pass included; draw_calls is the scene's and the overlay's lists only.
u32 waiting_for_program = 0
 Scene draws left out of the frame because a program they use was still compiling in the background.
u32 triangles = 0
u32 sprites = 0
u32 skeletal = 0
u32 meshes = 0
u32 text = 0
u32 particles = 0
u32 shapes = 0
u32 culled = 0
u32 occluded = 0
 Of culled, how many an occluder refused rather than the frustum.
u32 lightsSpared = 0
 Loop lights the lit quads did not have to work out (RenderCollectContext::lightsSpared).
f32 gpu_time_ms = -1.0f

Detailed Description

Definition at line 97 of file RenderFrame.hpp.

Member Data Documentation

◆ culled

u32 esengine::RenderFrame::Stats::culled = 0

Definition at line 110 of file RenderFrame.hpp.

◆ draw_calls

u32 esengine::RenderFrame::Stats::draw_calls = 0

Definition at line 98 of file RenderFrame.hpp.

◆ gpu_draws

u32 esengine::RenderFrame::Stats::gpu_draws = 0

Every draw the GPU was asked for in the frame, every pass included; draw_calls is the scene's and the overlay's lists only.

Definition at line 100 of file RenderFrame.hpp.

◆ gpu_time_ms

f32 esengine::RenderFrame::Stats::gpu_time_ms = -1.0f

Definition at line 115 of file RenderFrame.hpp.

◆ lightsSpared

u32 esengine::RenderFrame::Stats::lightsSpared = 0

Loop lights the lit quads did not have to work out (RenderCollectContext::lightsSpared).

Definition at line 114 of file RenderFrame.hpp.

◆ meshes

u32 esengine::RenderFrame::Stats::meshes = 0

Definition at line 106 of file RenderFrame.hpp.

◆ occluded

u32 esengine::RenderFrame::Stats::occluded = 0

Of culled, how many an occluder refused rather than the frustum.

Definition at line 112 of file RenderFrame.hpp.

◆ particles

u32 esengine::RenderFrame::Stats::particles = 0

Definition at line 108 of file RenderFrame.hpp.

◆ shapes

u32 esengine::RenderFrame::Stats::shapes = 0

Definition at line 109 of file RenderFrame.hpp.

◆ skeletal

u32 esengine::RenderFrame::Stats::skeletal = 0

Definition at line 105 of file RenderFrame.hpp.

◆ sprites

u32 esengine::RenderFrame::Stats::sprites = 0

Definition at line 104 of file RenderFrame.hpp.

◆ text

u32 esengine::RenderFrame::Stats::text = 0

Definition at line 107 of file RenderFrame.hpp.

◆ triangles

u32 esengine::RenderFrame::Stats::triangles = 0

Definition at line 103 of file RenderFrame.hpp.

◆ waiting_for_program

u32 esengine::RenderFrame::Stats::waiting_for_program = 0

Scene draws left out of the frame because a program they use was still compiling in the background.

Definition at line 102 of file RenderFrame.hpp.


The documentation for this struct was generated from the following file:
  • /home/runner/work/estella/estella/src/esengine/renderer/frame/RenderFrame.hpp