Blender V5.0
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]
int mem_used
int mem_peak
bool has_profiling
MeshStats mesh
ImageStats image
NamedNestedSampleStats kernel
NamedSampleCountStats shaders
NamedSampleCountStats objects

Detailed Description

Definition at line 156 of file RE_pipeline.h.

Constructor & Destructor Documentation

◆ RenderStats()

RenderStats::RenderStats ( )

Definition at line 230 of file stats.cpp.

References has_profiling.

Member Function Documentation

◆ collect_profiling()

◆ full_report()

string RenderStats::full_report ( )

Definition at line 290 of file stats.cpp.

References has_profiling, image, kernel, mesh, objects, result, and shaders.

Referenced by BlenderSession::render().

Member Data Documentation

◆ cfra

int RenderStats::cfra

◆ has_profiling

bool RenderStats::has_profiling

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

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

◆ image

ImageStats RenderStats::image

Definition at line 176 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 177 of file scene/stats.h.

Referenced by collect_profiling(), and full_report().

◆ lastframetime

double RenderStats::lastframetime

◆ localview

bool RenderStats::localview

Definition at line 158 of file RE_pipeline.h.

Referenced by make_renderinfo_string().

◆ mem_peak

int RenderStats::mem_peak

Definition at line 162 of file RE_pipeline.h.

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

◆ mem_used

int RenderStats::mem_used

Definition at line 162 of file RE_pipeline.h.

Referenced by make_renderinfo_string(), and RE_engine_update_memory_stats().

◆ mesh

MeshStats RenderStats::mesh

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

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

◆ objects

NamedSampleCountStats RenderStats::objects

Definition at line 179 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 161 of file RE_pipeline.h.

Referenced by RE_bake_engine(), and RE_engine_render().

◆ shaders

NamedSampleCountStats RenderStats::shaders

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

Referenced by collect_profiling(), and full_report().

◆ starttime

double RenderStats::starttime

◆ statstr

const char * RenderStats::statstr

Definition at line 160 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: