Photon Engine 2.0.0-beta
A physically based renderer.
Loading...
Searching...
No Matches
GEmpty.h
Go to the documentation of this file.
1#pragma once
2
4
5#include <vector>
6#include <memory>
7
8namespace ph
9{
10
11class GEmpty : public Geometry
12{
13public:
14 GEmpty() = default;
15
16 void storeCooked(
17 CookedGeometry& out_geometry,
18 const CookingContext& ctx) const override;
19
20 void genPrimitive(
21 const PrimitiveBuildingMaterial& data,
22 std::vector<std::unique_ptr<Primitive>>& out_primitives) const override;
23};
24
25}// end namespace ph
Definition CookedGeometry.h:13
Information about the world being cooked.
Definition CookingContext.h:24
Definition GEmpty.h:12
GEmpty()=default
void storeCooked(CookedGeometry &out_geometry, const CookingContext &ctx) const override
Store data suitable for rendering into out_geometry.
Definition GEmpty.cpp:10
void genPrimitive(const PrimitiveBuildingMaterial &data, std::vector< std::unique_ptr< Primitive > > &out_primitives) const override
Definition GEmpty.cpp:18
Definition Geometry.h:21
Definition PrimitiveBuildingMaterial.h:11
The root for all renderer implementations.
Definition EEngineProject.h:6