Unravel Engine C++ Reference
Loading...
Searching...
No Matches
unravel::rendering::pipeline_stats Struct Reference

#include <pipeline.h>

Public Member Functions

auto anything_drawn () const -> bool
 
void add_batch_stats (const batch_stats &stats)
 Add batch statistics to the pipeline stats.
 

Public Attributes

uint32_t drawn_models = 0
 
uint32_t drawn_skinned_models = 0
 
uint32_t drawn_lights = 0
 
uint32_t drawn_lights_casting_shadows = 0
 
uint32_t drawn_particles = 0
 
uint32_t drawn_particles_batches = 0
 
batch_stats batching_stats
 

Detailed Description

Definition at line 50 of file pipeline.h.

Member Function Documentation

◆ add_batch_stats()

void unravel::rendering::pipeline_stats::add_batch_stats ( const batch_stats & stats)

Add batch statistics to the pipeline stats.

Parameters
statsBatch statistics to accumulate

Definition at line 327 of file pipeline.cpp.

◆ anything_drawn()

auto unravel::rendering::pipeline_stats::anything_drawn ( ) const -> bool
inline

Definition at line 62 of file pipeline.h.

Member Data Documentation

◆ batching_stats

batch_stats unravel::rendering::pipeline_stats::batching_stats

Definition at line 60 of file pipeline.h.

◆ drawn_lights

uint32_t unravel::rendering::pipeline_stats::drawn_lights = 0

Definition at line 54 of file pipeline.h.

◆ drawn_lights_casting_shadows

uint32_t unravel::rendering::pipeline_stats::drawn_lights_casting_shadows = 0

Definition at line 55 of file pipeline.h.

◆ drawn_models

uint32_t unravel::rendering::pipeline_stats::drawn_models = 0

Definition at line 52 of file pipeline.h.

◆ drawn_particles

uint32_t unravel::rendering::pipeline_stats::drawn_particles = 0

Definition at line 56 of file pipeline.h.

◆ drawn_particles_batches

uint32_t unravel::rendering::pipeline_stats::drawn_particles_batches = 0

Definition at line 57 of file pipeline.h.

◆ drawn_skinned_models

uint32_t unravel::rendering::pipeline_stats::drawn_skinned_models = 0

Definition at line 53 of file pipeline.h.


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