Plasma Engine  2.0
Loading...
Searching...
No Matches
ViewRenderMode.h
1#pragma once
2
3#include <Foundation/Strings/HashedString.h>
4#include <RendererCore/Pipeline/Declarations.h>
5
6struct PL_RENDERERCORE_DLL plViewRenderMode
7{
8 using StorageType = plUInt8;
9
10 enum Enum
11 {
12 None,
13 WireframeColor,
14 WireframeMonochrome,
15 DiffuseLitOnly,
16 SpecularLitOnly,
17 LightCount,
18 DecalCount,
19 TexCoordsUV0,
20 TexCoordsUV1,
21 VertexColors0,
22 VertexColors1,
23 VertexNormals,
24 VertexTangents,
25 PixelNormals,
26 DiffuseColor,
27 DiffuseColorRange,
28 SpecularColor,
29 EmissiveColor,
30 Roughness,
31 Occlusion,
32 Depth,
33 StaticVsDynamic,
34 BoneWeights,
35
36 ENUM_COUNT,
37
38 Default = None
39 };
40
41 static plTempHashedString GetPermutationValue(Enum renderMode);
42 static int GetRenderPassForShader(Enum renderMode);
43 static void GetDebugText(Enum renderMode, plStringBuilder& out_sDebugText);
44};
45PL_DECLARE_REFLECTABLE_TYPE(PL_RENDERERCORE_DLL, plViewRenderMode);
plStringBuilder is a class that is meant for creating and modifying strings.
Definition StringBuilder.h:35
A class to use together with plHashedString for quick comparisons with temporary strings that need no...
Definition HashedString.h:151
Definition ViewRenderMode.h:7