17 return singleton.get();
42 #ifdef SKYRIM_SUPPORT_AE
44 bool doubleDynamicResolutionAdjustmentFrequency;
74 std::uint16_t padVR11E;
75 std::int32_t unkVR120;
76 std::uint32_t padVR124;
79 static_assert(offsetof(
State, screenWidth) == 0x24);
80 static_assert(offsetof(
State, frameBufferViewport) == 0x2C);
81 static_assert(offsetof(
State, letterbox) == 0x51);
83 # ifdef SKYRIM_SUPPORT_AE
84 static_assert(
sizeof(
State) == 0x120);
86 static_assert(
sizeof(
State) == 0x128);
#define RELOCATION_ID(SE, AE)
Definition: PCH.h:702
Definition: Relocation.h:210
NiPointer< NiSourceTexture > defaultReflectionCubeMap
Definition: State.h:53
std::uint8_t unk11E
Definition: State.h:71
std::uint32_t frameBufferViewport[2]
Definition: State.h:28
NiPointer< NiSourceTexture > defaultTextureWhite
Definition: State.h:50
NiPointer< NiSourceTexture > defaultTextureNormalMap
Definition: State.h:56
float dynamicResolutionPreviousHeightRatio
Definition: State.h:64
bool unk052
Definition: State.h:38
NiPointer< NiSourceTexture > defaultFaceDetailMap
Definition: State.h:54
bool insideFrame
Definition: State.h:36
std::uint32_t unk038
Definition: State.h:30
std::uint32_t screenWidth
Definition: State.h:26
bool canChangeDynamicResolution
Definition: State.h:69
float unk048
Definition: State.h:34
float dynamicResolutionWidthRatio
Definition: State.h:61
std::uint32_t dynamicResolutionIncreaseFrameWaited
Definition: State.h:65
std::uint32_t unk020
Definition: State.h:25
std::uint32_t unk03C
Definition: State.h:31
float haltonSequence[2][8]
Definition: State.h:60
NiPointer< NiSourceTexture > defaultTextureDitherNoiseMap
Definition: State.h:57
bool canDecreaseDynamicResolution
Definition: State.h:68
float unk044
Definition: State.h:33
NiPointer< NiSourceTexture > defaultTextureGrey
Definition: State.h:51
volatile std::int32_t dynamicResolutionLock
Definition: State.h:66
NiPointer< NiSourceTexture > defaultTextureProjNormalMap
Definition: State.h:23
NiPointer< NiSourceTexture > defaultHeightMap
Definition: State.h:52
NiPointer< NiSourceTexture > defaultTexEffectMap
Definition: State.h:55
NiPointer< NiSourceTexture > defaultTextureProjDiffuseMap
Definition: State.h:22
static State * GetSingleton()
Definition: State.h:14
NiPointer< NiSourceTexture > defaultTextureBlack
Definition: State.h:49
BSTArray< void * > cameraDataCache
Definition: State.h:58
float dynamicResolutionHeightRatio
Definition: State.h:62
std::uint32_t unk0C0
Definition: State.h:59
std::uint32_t frameCount
Definition: State.h:35
NiPointer< NiSourceTexture > defaultTextureProjNoiseMap
Definition: State.h:21
std::uint8_t pad11F
Definition: State.h:72
float dynamicResolutionPreviousWidthRatio
Definition: State.h:63
bool compiledShaderThisFrame
Definition: State.h:39
bool canIncreaseDynamicResolution
Definition: State.h:67
std::uint32_t unk058
Definition: State.h:47
std::uint32_t unk040
Definition: State.h:32
std::uint32_t unk034
Definition: State.h:29
std::uint32_t unk05C
Definition: State.h:48
bool useEarlyZ
Definition: State.h:40
std::uint32_t screenHeight
Definition: State.h:27
bool unk055
Definition: State.h:41
bool letterbox
Definition: State.h:37
NiPointer< NiSourceTexture > defaultTextureProjNormalDetailMap
Definition: State.h:24
Definition: NiSmartPointer.h:9
Definition: AbsorbEffect.h:6