Blender
V3.3
|
#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 |
Definition at line 146 of file RE_pipeline.h.
RenderStats::RenderStats | ( | ) |
Definition at line 244 of file stats.cpp.
References has_profiling.
Definition at line 249 of file stats.cpp.
References NamedSampleCountStats::add(), NamedNestedSampleStats::add_entry(), NamedSampleCountStats::entries, Object::get_device_index(), Profiler::get_event(), Profiler::get_object(), Profiler::get_shader(), has_profiling, Shader::id, kernel, Node::name, Scene::objects, objects, PROFILING_INTERSECT_CLOSEST, PROFILING_INTERSECT_SHADOW, PROFILING_INTERSECT_SUBSURFACE, PROFILING_INTERSECT_VOLUME_STACK, PROFILING_RAY_SETUP, PROFILING_SHADE_LIGHT_EVAL, PROFILING_SHADE_LIGHT_SETUP, PROFILING_SHADE_SHADOW_SETUP, PROFILING_SHADE_SHADOW_SURFACE, PROFILING_SHADE_SHADOW_VOLUME, PROFILING_SHADE_SURFACE_AO, PROFILING_SHADE_SURFACE_DIRECT_LIGHT, PROFILING_SHADE_SURFACE_EVAL, PROFILING_SHADE_SURFACE_INDIRECT_LIGHT, PROFILING_SHADE_SURFACE_PASSES, PROFILING_SHADE_SURFACE_SETUP, PROFILING_SHADE_VOLUME_DIRECT_LIGHT, PROFILING_SHADE_VOLUME_INDIRECT_LIGHT, PROFILING_SHADE_VOLUME_INTEGRATE, PROFILING_SHADE_VOLUME_SETUP, PROFILING_UNKNOWN, scene, Scene::shaders, shaders, and surface.
Referenced by Session::collect_statistics().
string RenderStats::full_report | ( | ) |
Definition at line 300 of file stats.cpp.
References NamedSampleCountStats::full_report(), MeshStats::full_report(), ImageStats::full_report(), NamedNestedSampleStats::full_report(), has_profiling, image, kernel, mesh, objects, result, and shaders.
Referenced by BlenderSession::render().
int RenderStats::cfra |
Definition at line 147 of file RE_pipeline.h.
Referenced by do_render_compositor(), do_render_sequencer(), RE_bake_engine(), RE_engine_render(), and stats_background().
bool RenderStats::has_profiling |
Definition at line 174 of file scene/stats.h.
Referenced by collect_profiling(), full_report(), and RenderStats().
ImageStats RenderStats::image |
Definition at line 177 of file scene/stats.h.
Referenced by ImageManager::collect_statistics(), and full_report().
const char* RenderStats::infostr |
Definition at line 150 of file RE_pipeline.h.
Referenced by FRS_do_stroke_rendering(), make_renderinfo_string(), prepare(), RE_engine_update_stats(), render_compositor_stats(), Freestyle::RenderMonitor::setInfo(), and stats_background().
NamedNestedSampleStats RenderStats::kernel |
Definition at line 178 of file scene/stats.h.
Referenced by collect_profiling(), and full_report().
double RenderStats::lastframetime |
Definition at line 149 of file RE_pipeline.h.
Referenced by do_render_full_pipeline(), do_write_image_or_movie(), make_renderinfo_string(), and stampdata().
bool RenderStats::localview |
Definition at line 148 of file RE_pipeline.h.
Referenced by make_renderinfo_string().
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().
float RenderStats::mem_used |
Definition at line 152 of file RE_pipeline.h.
Referenced by make_renderinfo_string(), and RE_engine_update_memory_stats().
MeshStats RenderStats::mesh |
Definition at line 176 of file scene/stats.h.
Referenced by GeometryManager::collect_statistics(), and full_report().
NamedSampleCountStats RenderStats::objects |
Definition at line 180 of file scene/stats.h.
Referenced by collect_profiling(), and full_report().
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().
NamedSampleCountStats RenderStats::shaders |
Definition at line 179 of file scene/stats.h.
Referenced by collect_profiling(), and full_report().
double RenderStats::starttime |
Definition at line 149 of file RE_pipeline.h.
Referenced by do_render_full_pipeline(), do_write_image_or_movie(), make_renderinfo_string(), RE_InitState(), and stats_background().
const char * RenderStats::statstr |
Definition at line 150 of file RE_pipeline.h.
Referenced by make_renderinfo_string(), and RE_engine_update_stats().