CommonLibSSE NG
NiSourceTexture.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include "RE/N/NiSmartPointer.h"
4 #include "RE/N/NiTexture.h"
5 
6 namespace RE
7 {
8  namespace BSGraphics
9  {
10  class Texture;
11  }
12 
13  namespace BSResource
14  {
15  class Stream;
16  }
17 
19 
20  class NiSourceTexture : public NiTexture
21  {
22  public:
23  inline static constexpr auto RTTI = RTTI_NiSourceTexture;
24  inline static auto Ni_RTTI = NiRTTI_NiSourceTexture;
25 
26  ~NiSourceTexture() override; // 00
27 
28  // override (NiTexture)
29  const NiRTTI* GetRTTI() const override; // 02
30  void Unk_25(void) override; // 25 - { return 0; }
31  void Unk_26(void) override; // 26 - { return 0; }
32  void Unk_27(void) override; // 27
33  void Unk_28(void) override; // 28
34  void Unk_29(void) override; // 29 - { return; }
35  void Unk_2A(void) override; // 2A - { return; }
36 
37  // members
39  BSGraphics::Texture* rendererTexture; // 48
40  std::uint8_t flags; // 50
41  std::uint8_t pad51; // 51
42  std::uint16_t pad52; // 52
43  std::uint32_t pad54; // 54
44  };
45  static_assert(sizeof(NiSourceTexture) == 0x58);
46 }
Definition: Stream.h:21
Definition: NiRTTI.h:6
Definition: NiSourceTexture.h:21
void Unk_29(void) override
void Unk_26(void) override
std::uint16_t pad52
Definition: NiSourceTexture.h:42
BSGraphics::Texture * rendererTexture
Definition: NiSourceTexture.h:39
static constexpr auto RTTI
Definition: NiSourceTexture.h:23
void Unk_2A(void) override
const NiRTTI * GetRTTI() const override
std::uint8_t flags
Definition: NiSourceTexture.h:40
static auto Ni_RTTI
Definition: NiSourceTexture.h:24
void Unk_25(void) override
std::uint8_t pad51
Definition: NiSourceTexture.h:41
void Unk_27(void) override
~NiSourceTexture() override
std::uint32_t pad54
Definition: NiSourceTexture.h:43
BSResource::Stream * unk40
Definition: NiSourceTexture.h:38
void Unk_28(void) override
Definition: NiTexture.h:15
Definition: AbsorbEffect.h:6
constexpr REL::VariantID RTTI_NiSourceTexture(690427, 398282, 0x1f61f20)
NiSmartPointer(Actor)
constexpr REL::VariantID NiRTTI_NiSourceTexture(523939, 410519, 0x316be08)