Overte C++ Documentation
AmbientOcclusionStage.h
1 //
2 // AmbientOcclusionStage.h
3 //
4 // Created by HifiExperiments on 6/24/24
5 // Copyright 2024 Overte e.V.
6 //
7 // Distributed under the Apache License, Version 2.0.
8 // See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html
9 //
10 
11 #ifndef hifi_render_utils_AmbientOcclusionStage_h
12 #define hifi_render_utils_AmbientOcclusionStage_h
13 
14 #include <graphics/AmbientOcclusion.h>
15 #include <render/Stage.h>
16 #include <render/StageSetup.h>
17 
18 // AmbientOcclusion stage to set up ambientOcclusion-related rendering tasks
19 class AmbientOcclusionStage : public render::PointerStage<graphics::AmbientOcclusion, graphics::AmbientOcclusionPointer> {};
20 using AmbientOcclusionStagePointer = std::shared_ptr<AmbientOcclusionStage>;
21 
22 class AmbientOcclusionStageSetup : public render::StageSetup<AmbientOcclusionStage> {
23 public:
24  using JobModel = render::Job::Model<AmbientOcclusionStageSetup>;
25 };
26 
27 #endif