CommonLibVR
BSShaderRenderTargets.h
Go to the documentation of this file.
1 #pragma once
2 
3 namespace RE
4 {
6  {
8  {
9  kNONE = static_cast<std::underlying_type_t<RENDER_TARGET>>(-1),
10  kFRAMEBUFFER = 0,
11  kMAIN,
12  kMAIN_COPY,
13  kMAIN_ONLY_ALPHA,
14  kNORMAL_TAAMASK_SSRMASK,
15  kNORMAL_TAAMASK_SSRMASK_SWAP,
16  kNORMAL_TAAMASK_SSRMASK_DOWNSAMPLED,
17  kMOTION_VECTOR,
18  kWATER_DISPLACEMENT,
19  kWATER_DISPLACEMENT_SWAP,
20  kWATER_REFLECTIONS,
21  kWATER_FLOW,
22  kUNDERWATER_MASK,
23  kREFRACTION_NORMALS,
24  kMENUBG,
25  kPLAYER_FACEGEN_TINT,
26  kLOCAL_MAP,
27  kLOCAL_MAP_SWAP,
28  kSHADOW_MASK,
29  kGETHIT_BUFFER,
30  kGETHIT_BLURSWAP,
31  kBLURFULL_BUFFER,
32  kHDR_BLURSWAP,
33  kLDR_BLURSWAP,
34  kHDR_BLOOM,
35  kLDR_DOWNSAMPLE0,
36  kHDR_DOWNSAMPLE0,
37  kHDR_DOWNSAMPLE1,
38  kHDR_DOWNSAMPLE2,
39  kHDR_DOWNSAMPLE3,
40  kHDR_DOWNSAMPLE4,
41  kHDR_DOWNSAMPLE5,
42  kHDR_DOWNSAMPLE6,
43  kHDR_DOWNSAMPLE7,
44  kHDR_DOWNSAMPLE8,
45  kHDR_DOWNSAMPLE9,
46  kHDR_DOWNSAMPLE10,
47  kHDR_DOWNSAMPLE11,
48  kHDR_DOWNSAMPLE12,
49  kHDR_DOWNSAMPLE13,
50  kLENSFLAREVIS,
51  kIMAGESPACE_TEMP_COPY,
52  kIMAGESPACE_TEMP_COPY2,
53  kIMAGESPACE_VOLUMETRIC_LIGHTING,
54  kIMAGESPACE_VOLUMETRIC_LIGHTING_PREVIOUS,
55  kIMAGESPACE_VOLUMETRIC_LIGHTING_COPY,
56  kSAO,
57  kSAO_DOWNSCALED,
58  kSAO_CAMERAZ_MIP_LEVEL_0_ESRAM,
59  kSAO_CAMERAZ,
60  kSAO_CAMERAZ_MIP_LEVEL_0,
61  kSAO_CAMERAZ_MIP_LEVEL_1,
62  kSAO_CAMERAZ_MIP_LEVEL_2,
63  kSAO_CAMERAZ_MIP_LEVEL_3,
64  kSAO_CAMERAZ_MIP_LEVEL_4,
65  kSAO_CAMERAZ_MIP_LEVEL_5,
66  kSAO_CAMERAZ_MIP_LEVEL_6,
67  kSAO_CAMERAZ_MIP_LEVEL_7,
68  kSAO_CAMERAZ_MIP_LEVEL_8,
69  kSAO_CAMERAZ_MIP_LEVEL_9,
70  kSAO_CAMERAZ_MIP_LEVEL_10,
71  kSAO_CAMERAZ_MIP_LEVEL_11,
72  kSAO_RAWAO,
73  kSAO_RAWAO_DOWNSCALED,
74  kSAO_RAWAO_PREVIOUS,
75  kSAO_RAWAO_PREVIOUS_DOWNSCALED,
76  kSAO_TEMP_BLUR,
77  kSAO_TEMP_BLUR_DOWNSCALED,
78  kINDIRECT,
79  kINDIRECT_DOWNSCALED,
80  kRAWINDIRECT,
81  kRAWINDIRECT_DOWNSCALED,
82  kRAWINDIRECT_PREVIOUS,
83  kRAWINDIRECT_PREVIOUS_DOWNSCALED,
84  kRAWINDIRECT_SWAP,
85  kSAVE_GAME_SCREENSHOT,
86  kSCREENSHOT,
87  kVOLUMETRIC_LIGHTING_HALF_RES,
88  kVOLUMETRIC_LIGHTING_BLUR_HALF_RES,
89  kVOLUMETRIC_LIGHTING_QUARTER_RES,
90  kVOLUMETRIC_LIGHTING_BLUR_QUARTER_RES,
91  kTEMPORAL_AA_ACCUMULATION_1,
92  kTEMPORAL_AA_ACCUMULATION_2,
93  kTEMPORAL_AA_UI_ACCUMULATION_1,
94  kTEMPORAL_AA_UI_ACCUMULATION_2,
95  kTEMPORAL_AA_MASK,
96  kTEMPORAL_AA_WATER_1,
97  kTEMPORAL_AA_WATER_2,
98  kRAW_WATER,
99  kWATER_1,
100  kWATER_2,
101  kIBLENSFLARES_LIGHTS_FILTER,
102  kIBLENSFLARES_DOWNSAMPLE_4X_4X_PING,
103  kIBLENSFLARES_DOWNSAMPLE_4X_4X_PONG,
104  kIBLENSFLARES_DOWNSAMPLE_16X_4Y_PING,
105  kIBLENSFLARES_DOWNSAMPLE_16X_4Y_PONG,
106  kIBLENSFLARES_DOWNSAMPLE_16X_4Y_BLUR,
107  kIBLENSFLARES_DOWNSAMPLE_16X_4Y_BLUR_SWAP,
108  kIBLENSFLARES_DOWNSAMPLE_32X_4Y_PING,
109  kIBLENSFLARES_DOWNSAMPLE_32X_4Y_PONG,
110  kIBLENSFLARES_DOWNSAMPLE_32X_4Y_BLUR,
111  kIBLENSFLARES_DOWNSAMPLE_32X_4Y_BLUR_SWAP,
112  kIBLENSFLARES_DOWNSAMPLE_16X_16X_PING,
113  kIBLENSFLARES_DOWNSAMPLE_16X_16X_PONG,
114  kIBLENSFLARES_DOWNSAMPLE_16X_16X_SWAP,
115  kBOOK_TEXT_0,
116  kBOOK_TEXT_1,
117  kBOOK_TEXT_2,
118  kBOOK_TEXT_3,
119  kSSR,
120  kSSR_RAW,
121  kSSR_BLURRED0,
122  kSNOW_SPECALPHA,
123  kSNOW_SWAP,
124 
125  kTOTAL, // SE 114, 125 in VR
126 #ifdef SKYRIMVR
127  kVRTOTAL = 125,
128 #endif
129  kFRAMEBUFFER_TOTAL = kMAIN,
130  };
131  };
132 
134  {
136  {
137  kNONE = static_cast<std::underlying_type_t<RENDER_TARGET_CUBEMAP>>(-1),
138  kREFLECTIONS = 0,
139 
140  kTOTAL,
141  };
142  };
143 
145  {
147  {
148  kNONE = static_cast<std::underlying_type_t<RENDER_TARGET_3D>>(-1),
149  kVOLUMETRIC_LIGHTING_ACCUMULATION = 0,
150  kVOLUMETRIC_LIGHTING_ACCUMULATION_COPY,
151  kVOLUMETRIC_LIGHTING_NOISE,
152 
153  kTOTAL,
154  };
155  };
156 
158  {
160  {
161  kNONE = static_cast<std::underlying_type_t<RENDER_TARGET_DEPTHSTENCIL>>(-1),
162  kMAIN = 0,
163  kMAIN_COPY,
164  kSHADOWMAPS_ESRAM,
165  kVOLUMETRIC_LIGHTING_SHADOWMAPS_ESRAM,
166  kSHADOWMAPS,
167  kDECAL_OCCLUSION,
168  kCUBEMAP_REFLECTIONS,
169  kPOST_ZPREPASS_COPY,
170  kPOST_WATER_COPY,
171  kBOOK_TEXT,
172  kPRECIPITATION_OCCLUSION_MAP,
173  kFOCUS_NEO,
174 
175  kTOTAL, // 12 in SSE, 21 in VR
176 #ifdef SKYRIMVR
177  kVRTOTAL = 21,
178 #endif
179  };
180  };
181 
186 }
Definition: AbsorbEffect.h:6
Definition: BSShaderRenderTargets.h:145
RENDER_TARGET_3D
Definition: BSShaderRenderTargets.h:147
Definition: BSShaderRenderTargets.h:134
RENDER_TARGET_CUBEMAP
Definition: BSShaderRenderTargets.h:136
Definition: BSShaderRenderTargets.h:158
RENDER_TARGET_DEPTHSTENCIL
Definition: BSShaderRenderTargets.h:160
Definition: BSShaderRenderTargets.h:6
RENDER_TARGET
Definition: BSShaderRenderTargets.h:8