Photon Editor Library 2.0.0-beta
A physically based renderer.
Loading...
Searching...
No Matches
OfflineRenderStats.h
Go to the documentation of this file.
1#pragma once
2
3#include <Common/primitive_type.h>
4#include <Frame/Viewport.h>
5
6#include <string>
7#include <vector>
8
9namespace ph::editor::render
10{
11
13{
14 Standby = 0,
21};
22
27{
28public:
30 {
31 std::string name;
32 float64 value = 0.0;
33 bool isInteger = false;
34 };
35
36 Viewport viewport;
37 uint64 totalWork = 0;
38 uint64 workDone = 0;
39 uint64 renderTimeMs = 0;
40 std::vector<std::string> layerNames;
41 std::vector<NumericInfo> numericInfos;
42};
43
44}// end namespace ph::editor::render
Information about the rendering process. For gathering general information from the renderer.
Definition OfflineRenderStats.h:27
uint64 workDone
Definition OfflineRenderStats.h:38
std::vector< NumericInfo > numericInfos
Definition OfflineRenderStats.h:41
std::vector< std::string > layerNames
Definition OfflineRenderStats.h:40
Viewport viewport
Definition OfflineRenderStats.h:36
uint64 totalWork
Definition OfflineRenderStats.h:37
uint64 renderTimeMs
Definition OfflineRenderStats.h:39
Definition DesignerObject.h:19
EOfflineRenderStage
Definition OfflineRenderStats.h:13
Definition OfflineRenderStats.h:30
std::string name
Definition OfflineRenderStats.h:31
bool isInteger
Definition OfflineRenderStats.h:33
float64 value
Definition OfflineRenderStats.h:32