CommonLibSSE (powerof3)
ExtraLightData.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include "RE/B/BSExtraData.h"
4 #include "RE/E/ExtraDataTypes.h"
5 
6 namespace RE
7 {
9  {
11  ~ExtraLightDataStruct() = default;
12 
13  float fov; // 00
14  float fade; // 04
15  float endDistanceCap; // 08
16  float shadowDepthBias; // 0C
17  std::uint8_t unk10; // 10
18  std::uint8_t pad11; // 11
19  std::uint16_t pad12; // 12
20  };
21  static_assert(sizeof(ExtraLightDataStruct) == 0x14);
22 
23  class ExtraLightData : public BSExtraData
24  {
25  public:
26  inline static constexpr auto RTTI = RTTI_ExtraLightData;
27  inline static constexpr auto EXTRADATATYPE = ExtraDataType::kLightData;
28 
30  virtual ~ExtraLightData() = default; // 00
31 
32  // override (BSExtraData)
33  virtual ExtraDataType GetType() const override; // 01 - { return kLightData; }
34  virtual bool IsNotEqual(const BSExtraData* a_rhs) const override; // 02
35 
36  // members
38  std::uint32_t pad24; // 24
39  };
40  static_assert(sizeof(ExtraLightData) == 0x28);
41 }
Definition: BSExtraData.h:9
Definition: ExtraLightData.h:24
static constexpr auto EXTRADATATYPE
Definition: ExtraLightData.h:27
virtual ExtraDataType GetType() const override
virtual ~ExtraLightData()=default
std::uint32_t pad24
Definition: ExtraLightData.h:38
ExtraLightDataStruct data
Definition: ExtraLightData.h:37
static constexpr auto RTTI
Definition: ExtraLightData.h:26
virtual bool IsNotEqual(const BSExtraData *a_rhs) const override
Definition: AbsorbEffect.h:6
constexpr REL::ID RTTI_ExtraLightData
Definition: Offsets_RTTI.h:4702
ExtraDataType
Definition: ExtraDataTypes.h:173
Definition: ExtraLightData.h:9
float fade
Definition: ExtraLightData.h:14
std::uint8_t unk10
Definition: ExtraLightData.h:17
std::uint16_t pad12
Definition: ExtraLightData.h:19
float endDistanceCap
Definition: ExtraLightData.h:15
float shadowDepthBias
Definition: ExtraLightData.h:16
float fov
Definition: ExtraLightData.h:13
std::uint8_t pad11
Definition: ExtraLightData.h:18