Photon Engine 2.0.0-beta
A physically based renderer.
Loading...
Searching...
No Matches
TransientVisualElement.h
Go to the documentation of this file.
1#pragma once
2
4
5#include <vector>
6
7namespace ph
8{
9
10class Intersectable;
11class Emitter;
12class Primitive;
13
19{
20public:
21 std::vector<const Intersectable*> intersectables;
22 std::vector<const Emitter*> emitters;
23
29 std::vector<const Primitive*> primitivesView;
30
31public:
32 void add(const Primitive* primitive);
33
35};
36
37}// end namespace ph
A physical shape in the scene.
Definition Primitive.h:23
A group of cooked data that represent the visible part of the scene at a specific time....
Definition TransientVisualElement.h:19
std::vector< const Intersectable * > intersectables
Definition TransientVisualElement.h:21
void add(const Primitive *primitive)
Definition TransientVisualElement.cpp:11
std::vector< const Emitter * > emitters
Definition TransientVisualElement.h:22
std::vector< const Primitive * > primitivesView
Represent the same shape as intersectables. Will be provided if obtaining such representation incurs ...
Definition TransientVisualElement.h:29
The root for all renderer implementations.
Definition EEngineProject.h:6