CommonLibSSE NG
Loading...
Searching...
No Matches
BSShaderTextureSet.h
Go to the documentation of this file.
1#pragma once
2
3#include "RE/B/BSTextureSet.h"
4
5namespace RE
6{
8 {
9 public:
10 inline static constexpr auto RTTI = RTTI_BSShaderTextureSet;
11 inline static auto Ni_RTTI = NiRTTI_BSShaderTextureSet;
12 inline static constexpr auto VTABLE = VTABLE_BSShaderTextureSet;
13
14 ~BSShaderTextureSet() override; // 00
15
16 // override (BSTextureSet)
17 const NiRTTI* GetRTTI() const override; // 02
18 void LoadBinary(NiStream& a_stream) override; // 18
19 void LinkObject(NiStream& a_stream) override; // 19
20 bool RegisterStreamables(NiStream& a_stream) override; // 1A
21 void SaveBinary(NiStream& a_stream) override; // 1B
22 bool IsEqual(NiObject* a_object) override; // 1C
23 const char* GetTexturePath(Texture a_texture) override; // 25
24 void SetTexture(Texture a_texture, NiSourceTexture* a_srcTexture) override; // 26
25 void SetTexturePath(Texture a_texture, const char* a_path) override; // 27
26
28
29 // members
30 const char* textures[Texture::kTotal];
31
32 private:
33 BSShaderTextureSet* Ctor();
34 };
35 static_assert(sizeof(BSShaderTextureSet) == 0x58);
36}
Definition BSShaderTextureSet.h:8
bool RegisterStreamables(NiStream &a_stream) override
void LoadBinary(NiStream &a_stream) override
const char * textures[Texture::kTotal]
Definition BSShaderTextureSet.h:30
void SaveBinary(NiStream &a_stream) override
static BSShaderTextureSet * Create()
static constexpr auto VTABLE
Definition BSShaderTextureSet.h:12
static auto Ni_RTTI
Definition BSShaderTextureSet.h:11
const NiRTTI * GetRTTI() const override
static constexpr auto RTTI
Definition BSShaderTextureSet.h:10
void SetTexturePath(Texture a_texture, const char *a_path) override
const char * GetTexturePath(Texture a_texture) override
~BSShaderTextureSet() override
void LinkObject(NiStream &a_stream) override
bool IsEqual(NiObject *a_object) override
void SetTexture(Texture a_texture, NiSourceTexture *a_srcTexture) override
Definition BSTextureSet.h:9
Definition NiObject.h:37
Definition NiRTTI.h:6
Definition NiSourceTexture.h:21
Definition NiStream.h:27
Definition AbsorbEffect.h:6
constexpr REL::VariantID RTTI_BSShaderTextureSet(685303, 393080, 0x1ee3640)
constexpr std::array< REL::VariantID, 1 > VTABLE_BSShaderTextureSet
Definition Offsets_VTABLE.h:796
constexpr REL::VariantID NiRTTI_BSShaderTextureSet(528104, 415049, 0x3485b98)
Texture
Definition BSTextureSet.h:17