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