CommonLibSSE (Parapets fork)
TESModelTextureSwap.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include "RE/B/BSFixedString.h"
4 #include "RE/F/FormTypes.h"
5 #include "RE/T/TESModel.h"
6 
7 namespace RE
8 {
10  {
11  public:
12  inline static constexpr auto RTTI = RTTI_TESModelTextureSwap;
13 
14  struct AlternateTexture // MODS
15  {
17  std::uint32_t index3D; // 08
18  std::uint32_t unk0C; // 0C
20  };
21  static_assert(sizeof(AlternateTexture) == 0x18);
22 
23  ~TESModelTextureSwap() override; // 00
24 
25  // override (TESModel)
26  void InitializeDataComponent() override; // 01
27  void ClearDataComponent() override; // 02
28  void CopyComponent(BaseFormComponent* a_rhs) override; // 03
29  TESModelTextureSwap* GetAsModelTextureSwap() override; // 06 - { return this; }
30 
31  // members
33  std::uint32_t numAlternateTextures; // 30
34  std::uint32_t pad34; // 34
35  };
36  static_assert(sizeof(TESModelTextureSwap) == 0x38);
37 }
Definition: BGSTextureSet.h:16
Definition: BaseFormComponent.h:8
Definition: TESModelTextureSwap.h:10
std::uint32_t pad34
Definition: TESModelTextureSwap.h:34
static constexpr auto RTTI
Definition: TESModelTextureSwap.h:12
void InitializeDataComponent() override
void CopyComponent(BaseFormComponent *a_rhs) override
void ClearDataComponent() override
AlternateTexture * alternateTextures
Definition: TESModelTextureSwap.h:32
TESModelTextureSwap * GetAsModelTextureSwap() override
~TESModelTextureSwap() override
std::uint32_t numAlternateTextures
Definition: TESModelTextureSwap.h:33
Definition: TESModel.h:16
Definition: AbsorbEffect.h:6
constexpr REL::ID RTTI_TESModelTextureSwap
Definition: Offsets_RTTI.h:6023
Definition: TESModelTextureSwap.h:15
std::uint32_t unk0C
Definition: TESModelTextureSwap.h:18
BSFixedString name3D
Definition: TESModelTextureSwap.h:19
BGSTextureSet * textureSet
Definition: TESModelTextureSwap.h:16
std::uint32_t index3D
Definition: TESModelTextureSwap.h:17