CommonLibSSE NG
Precipitation.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include "RE/N/NiPoint3.h"
4 #include "RE/N/NiSmartPointer.h"
5 
6 #include "REX/W32/D3D.h"
7 
8 namespace RE
9 {
10  class BSCullingProcess;
11  class BSGeometry;
12  class BSShaderAccumulator;
13  class NiCamera;
14 
16  {
17  public:
18  inline static constexpr auto RTTI = RTTI_Precipitation;
19 
21  {
22  public:
23  // members
24  alignas(0x10) REX::W32::XMFLOAT4X4 projection; // 00
28  std::uint64_t pad58; // 58
29  };
30  static_assert(sizeof(OcclusionMapData) == 0x60);
31 
32  virtual ~Precipitation(); // 00
33 
35  {
36  REL::Relocation<NiPoint3*> precipDirection{ RELOCATION_ID(515509, 401648) };
37  return *precipDirection;
38  }
39 
40  // members
44  float lastCubeSize; // 80
46  float lastParticleDensity; // 88
47  std::uint32_t pad8C; // 8C
48  };
49  static_assert(sizeof(Precipitation) == 0x90);
50 }
#define RELOCATION_ID(a_se, a_ae)
Definition: PCH.h:724
Definition: Relocation.h:204
Definition: BSCullingProcess.h:17
Definition: NiPoint3.h:6
Definition: NiSmartPointer.h:9
Definition: Precipitation.h:21
BSCullingProcess * cullingProcess
Definition: Precipitation.h:27
NiPointer< BSShaderAccumulator > accumulator
Definition: Precipitation.h:26
std::uint64_t pad58
Definition: Precipitation.h:28
REX::W32::XMFLOAT4X4 projection
Definition: Precipitation.h:24
NiPointer< NiCamera > camera
Definition: Precipitation.h:25
Definition: Precipitation.h:16
static constexpr auto RTTI
Definition: Precipitation.h:18
static NiPoint3 GetDirection()
Definition: Precipitation.h:34
NiPointer< BSGeometry > currentPrecip
Definition: Precipitation.h:42
std::uint32_t pad8C
Definition: Precipitation.h:47
virtual ~Precipitation()
float lastCubeSize
Definition: Precipitation.h:44
OcclusionMapData occlusionData
Definition: Precipitation.h:41
NiPointer< BSGeometry > lastPrecip
Definition: Precipitation.h:43
float currentParticleDensity
Definition: Precipitation.h:45
float lastParticleDensity
Definition: Precipitation.h:46
Definition: AbsorbEffect.h:6
constexpr REL::VariantID RTTI_Precipitation(685533, 393318, 0x1ee7538)
Definition: D3D.h:697