Blender  V3.3
Public Member Functions | Public Attributes | List of all members
RenderStats Class Reference

#include <RE_pipeline.h>

Public Member Functions

 RenderStats ()
 
string full_report ()
 
void collect_profiling (Scene *scene, Profiler &prof)
 

Public Attributes

int cfra
 
bool localview
 
double starttime
 
double lastframetime
 
const char * infostr
 
const char * statstr
 
char scene_name [MAX_ID_NAME - 2]
 
float mem_used
 
float mem_peak
 
bool has_profiling
 
MeshStats mesh
 
ImageStats image
 
NamedNestedSampleStats kernel
 
NamedSampleCountStats shaders
 
NamedSampleCountStats objects
 

Detailed Description

Definition at line 146 of file RE_pipeline.h.

Constructor & Destructor Documentation

◆ RenderStats()

RenderStats::RenderStats ( )

Definition at line 244 of file stats.cpp.

References has_profiling.

Member Function Documentation

◆ collect_profiling()

void RenderStats::collect_profiling ( Scene scene,
Profiler prof 
)

◆ full_report()

string RenderStats::full_report ( )

Member Data Documentation

◆ cfra

int RenderStats::cfra

◆ has_profiling

bool RenderStats::has_profiling

Definition at line 174 of file scene/stats.h.

Referenced by collect_profiling(), full_report(), and RenderStats().

◆ image

ImageStats RenderStats::image

Definition at line 177 of file scene/stats.h.

Referenced by ImageManager::collect_statistics(), and full_report().

◆ infostr

const char* RenderStats::infostr

◆ kernel

NamedNestedSampleStats RenderStats::kernel

Definition at line 178 of file scene/stats.h.

Referenced by collect_profiling(), and full_report().

◆ lastframetime

double RenderStats::lastframetime

◆ localview

bool RenderStats::localview

Definition at line 148 of file RE_pipeline.h.

Referenced by make_renderinfo_string().

◆ mem_peak

float RenderStats::mem_peak

Definition at line 152 of file RE_pipeline.h.

Referenced by make_renderinfo_string(), RE_engine_update_memory_stats(), and stampdata().

◆ mem_used

float RenderStats::mem_used

Definition at line 152 of file RE_pipeline.h.

Referenced by make_renderinfo_string(), and RE_engine_update_memory_stats().

◆ mesh

MeshStats RenderStats::mesh

Definition at line 176 of file scene/stats.h.

Referenced by GeometryManager::collect_statistics(), and full_report().

◆ objects

NamedSampleCountStats RenderStats::objects

Definition at line 180 of file scene/stats.h.

Referenced by collect_profiling(), and full_report().

◆ scene_name

char RenderStats::scene_name[MAX_ID_NAME - 2]

Definition at line 151 of file RE_pipeline.h.

Referenced by RE_bake_engine(), and RE_engine_render().

◆ shaders

NamedSampleCountStats RenderStats::shaders

Definition at line 179 of file scene/stats.h.

Referenced by collect_profiling(), and full_report().

◆ starttime

double RenderStats::starttime

◆ statstr

const char * RenderStats::statstr

Definition at line 150 of file RE_pipeline.h.

Referenced by make_renderinfo_string(), and RE_engine_update_stats().


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