CommonLibSSE NG
Loading...
Searching...
No Matches
ImageSpaceData.h
Go to the documentation of this file.
1#pragma once
2
3namespace RE
4{
6 {
7 struct HDR // HNAM
8 {
9 public:
10 // members
11 float eyeAdaptSpeed; // 00
12 float bloomBlurRadius; // 04
13 float bloomThreshold; // 08
14 float bloomScale; // 0C
16 float white; // 14
17 float sunlightScale; // 18
18 float skyScale; // 1C
19 float eyeAdaptStrength; // 20
20 };
21 static_assert(sizeof(HDR) == 0x24);
22
23 struct Cinematic // CNAM
24 {
25 public:
26 // members
27 float saturation; // 0
28 float brightness; // 4
29 float contrast; // 8
30 };
31 static_assert(sizeof(Cinematic) == 0xC);
32
33 struct Tint // TNAM
34 {
35 public:
36 struct ColorF
37 {
38 public:
39 // members
40 float red; // 0
41 float green; // 4
42 float blue; // 8
43 };
44 static_assert(sizeof(ColorF) == 0xC);
45
46 // members
47 float amount; // 00
49 };
50 static_assert(sizeof(Tint) == 0x10);
51
52 struct DepthOfField // DNAM
53 {
54 public:
55 enum class SkyBlurRadius
56 {
57 kRadius0 = 16384, // 0x4000
58 kRadius1 = 16672, // 0x4120
59 kRadius2 = 16784, // 0x4190
60 kRadius3 = 16848, // 0x41D0
61 kRadius4 = 16904, // 0x4208
62 kRadius5 = 16936, // 0x4228
63 kRadius6 = 16968, // 0x4248
64 kRadius7 = 17000, // 0x4268
65 kNoSky_Radius0 = 16576, // 0x40C0
66 kNoSky_Radius1 = 16736, // 0x4160
67 kNoSky_Radius2 = 16816, // 0x41B0
68 kNoSky_Radius3 = 16880, // 0x41F0
69 kNoSky_Radius4 = 16920, // 0x4218
70 kNoSky_Radius5 = 16952, // 0x4238
71 kNoSky_Radius6 = 16984, // 0x4258
72 kNoSky_Radius7 = 17016 // 0x4278
73 };
74
75 // members
76 float strength; // 00
77 float distance; // 04
78 float range; // 08
79 std::uint16_t flags; // 0C
81 };
82 static_assert(sizeof(DepthOfField) == 0x10);
83
84 // members
85 HDR hdr; // 00 - HNAM
86 Cinematic cinematic; // 24 - CNAM
87 Tint tint; // 30 - TNAM
89 };
90 static_assert(sizeof(ImageSpaceBaseData) == 0x50);
91
93 {
94 public:
95 enum
96 {
98 kFadeR = 1,
99 kFadeG = 2,
115
116 kTotal = 18
117 };
118
119 // members
120 float data[kTotal]; // 00
121 };
122 static_assert(sizeof(ImageSpaceModData) == 0x48);
123
125 {
126 public:
127 // members
130 float baseAmount; // 98
131 float modAmount; // 9C
132 };
133 static_assert(sizeof(ImageSpaceData) == 0xA0);
134}
Definition ImageSpaceData.h:125
ImageSpaceBaseData baseData
Definition ImageSpaceData.h:128
ImageSpaceModData modData
Definition ImageSpaceData.h:129
float baseAmount
Definition ImageSpaceData.h:130
float modAmount
Definition ImageSpaceData.h:131
Definition PCH.h:223
Definition AbsorbEffect.h:6
Definition ImageSpaceData.h:24
float contrast
Definition ImageSpaceData.h:29
float brightness
Definition ImageSpaceData.h:28
float saturation
Definition ImageSpaceData.h:27
Definition ImageSpaceData.h:53
float strength
Definition ImageSpaceData.h:76
std::uint16_t flags
Definition ImageSpaceData.h:79
float distance
Definition ImageSpaceData.h:77
float range
Definition ImageSpaceData.h:78
SkyBlurRadius
Definition ImageSpaceData.h:56
stl::enumeration< SkyBlurRadius, std::uint16_t > skyBlurRadius
Definition ImageSpaceData.h:80
Definition ImageSpaceData.h:8
float bloomThreshold
Definition ImageSpaceData.h:13
float eyeAdaptSpeed
Definition ImageSpaceData.h:11
float bloomScale
Definition ImageSpaceData.h:14
float eyeAdaptStrength
Definition ImageSpaceData.h:19
float receiveBloomThreshold
Definition ImageSpaceData.h:15
float bloomBlurRadius
Definition ImageSpaceData.h:12
float sunlightScale
Definition ImageSpaceData.h:17
float skyScale
Definition ImageSpaceData.h:18
float white
Definition ImageSpaceData.h:16
Definition ImageSpaceData.h:37
float green
Definition ImageSpaceData.h:41
float red
Definition ImageSpaceData.h:40
float blue
Definition ImageSpaceData.h:42
Definition ImageSpaceData.h:34
float amount
Definition ImageSpaceData.h:47
ColorF color
Definition ImageSpaceData.h:48
Definition ImageSpaceData.h:6
DepthOfField depthOfField
Definition ImageSpaceData.h:88
Tint tint
Definition ImageSpaceData.h:87
Cinematic cinematic
Definition ImageSpaceData.h:86
HDR hdr
Definition ImageSpaceData.h:85
Definition ImageSpaceData.h:93
float data[kTotal]
Definition ImageSpaceData.h:120
@ kRadialBlurStart
Definition ImageSpaceData.h:105
@ kBlurRadius
Definition ImageSpaceData.h:101
@ kRadialBlurDownStart
Definition ImageSpaceData.h:107
@ kRadialBlurCenterX
Definition ImageSpaceData.h:108
@ kMotionBlurStrength
Definition ImageSpaceData.h:114
@ kDOFMode
Definition ImageSpaceData.h:113
@ kFadeR
Definition ImageSpaceData.h:98
@ kRadialBlurRampdown
Definition ImageSpaceData.h:106
@ kDoubleVisionStrength
Definition ImageSpaceData.h:102
@ kRadialBlurCenterY
Definition ImageSpaceData.h:109
@ kDOFStrength
Definition ImageSpaceData.h:110
@ kDOFRange
Definition ImageSpaceData.h:112
@ kDOFDistance
Definition ImageSpaceData.h:111
@ kFadeAmount
Definition ImageSpaceData.h:97
@ kFadeB
Definition ImageSpaceData.h:100
@ kTotal
Definition ImageSpaceData.h:116
@ kFadeG
Definition ImageSpaceData.h:99
@ kRadialBlurRampup
Definition ImageSpaceData.h:104
@ kRadialBlurStrength
Definition ImageSpaceData.h:103