Photon Editor Library 2.0.0-beta
A physically based renderer.
Loading...
Searching...
No Matches
OfflineRenderPeek.h
Go to the documentation of this file.
1#pragma once
2
4
5#include <Common/primitive_type.h>
6#include <Math/Geometry/TAABB2D.h>
7
8#include <cstddef>
9#include <vector>
10
11namespace ph::editor::render
12{
13
18{
19public:
20 struct Input final
21 {
23 std::size_t layerIndex = 0;
24
27
30
31 bool wantUpdatingRegions = false;
32 bool performToneMapping = true;
33 };
34
35 struct Output final
36 {
39 std::vector<math::TAABB2D<int32>> updatingRegions;
40 };
41
44};
45
46}// end namespace ph::editor::render
Information about the rendered frame. For frame data exchange between the renderer and outside world.
Definition OfflineRenderPeek.h:18
Output out
Definition OfflineRenderPeek.h:43
Input in
Definition OfflineRenderPeek.h:42
Definition DesignerObject.h:19
Definition OfflineRenderPeek.h:21
bool wantUpdatingRegions
Definition OfflineRenderPeek.h:31
bool performToneMapping
Definition OfflineRenderPeek.h:32
ghi::TextureHandle resultHandle
Definition OfflineRenderPeek.h:26
bool wantIntermediateResult
Definition OfflineRenderPeek.h:29
std::size_t layerIndex
Definition OfflineRenderPeek.h:23
Definition OfflineRenderPeek.h:36
std::vector< math::TAABB2D< int32 > > updatingRegions
Definition OfflineRenderPeek.h:39