Grindstone Game Engine v0.2.0
An open source game engine and toolkit.
Loading...
Searching...
No Matches
DeferredRendererCommon.hpp
1#pragma once
2
3#include <Common/HashedString.hpp>
4#include <Common/Graphics/Formats.hpp>
5
6static Grindstone::ConstHashedString gbufferRenderPassKey = "Gbuffer";
7static Grindstone::ConstHashedString geometryOpaqueRenderPassKey = "GeometryOpaque";
8static Grindstone::ConstHashedString geometryUnlitRenderPassKey = "GeometryUnlit";
9static Grindstone::ConstHashedString geometrySkyRenderPassKey = "GeometrySky";
10static Grindstone::ConstHashedString geometryTransparentRenderPassKey = "GeometryTransparent";
11static Grindstone::ConstHashedString mainRenderPassKey = "Main";
12
13static Grindstone::ConstHashedString dofSeparationRenderPassKey = "DofSeparation";
14static Grindstone::ConstHashedString dofBlurAndCombinationRenderPassKey = "DofBlurAndCombination";
15
16static Grindstone::ConstHashedString lightingRenderPassKey = "Lighting";
17static Grindstone::ConstHashedString forwardLitRenderPassKey = "ForwardLit";
18static Grindstone::ConstHashedString ssaoRenderPassKey = "Ssao";
19static Grindstone::ConstHashedString ssaoBlurRenderPassKey = "Ssao Blur";
20static Grindstone::ConstHashedString shadowMapRenderPassKey = "ShadowMap";
21
22static const Grindstone::GraphicsAPI::Format depthFormat = Grindstone::GraphicsAPI::Format::D32_SFLOAT;
23static const Grindstone::GraphicsAPI::Format litHdrFormat = Grindstone::GraphicsAPI::Format::R16G16B16A16_SFLOAT;
24static const Grindstone::GraphicsAPI::Format ambientOcclusionFormat = Grindstone::GraphicsAPI::Format::R8_UNORM;
25
Definition HashedString.hpp:53