CommonLibVR
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 VTABLE = VTABLE_ExtraLightData;
28  inline static constexpr auto EXTRADATATYPE = ExtraDataType::kLightData;
29 
31  virtual ~ExtraLightData() = default; // 00
32 
33  // override (BSExtraData)
34  virtual ExtraDataType GetType() const override; // 01 - { return kLightData; }
35  virtual bool IsNotEqual(const BSExtraData* a_rhs) const override; // 02
36 
37  // members
39  std::uint32_t pad24; // 24
40  private:
41  KEEP_FOR_RE()
42  };
43  static_assert(sizeof(ExtraLightData) == 0x28);
44 }
#define KEEP_FOR_RE()
Definition: PCH.h:713
Definition: BSExtraData.h:9
Definition: ExtraLightData.h:24
static constexpr auto EXTRADATATYPE
Definition: ExtraLightData.h:28
virtual ExtraDataType GetType() const override
virtual ~ExtraLightData()=default
std::uint32_t pad24
Definition: ExtraLightData.h:39
static constexpr auto VTABLE
Definition: ExtraLightData.h:27
ExtraLightDataStruct data
Definition: ExtraLightData.h:38
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(static_cast< std::uint64_t >(684749))
ExtraDataType
Definition: ExtraDataTypes.h:173
constexpr std::array< REL::ID, 1 > VTABLE_ExtraLightData
Definition: Offsets_VTABLE.h:11557
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