CommonLibSSE NG
Loading...
Searching...
No Matches
BSLightingShaderMaterialParallax.h
Go to the documentation of this file.
1#pragma once
2
5
6namespace RE
7{
8 class NiSourceTexture;
9
11 {
12 public:
13 inline static constexpr auto RTTI = RTTI_BSLightingShaderMaterialParallax;
14 inline static constexpr auto VTABLE = VTABLE_BSLightingShaderMaterialParallax;
15 inline static auto FEATURE = Feature::kParallax;
16
18
19 // override (BSLightingShaderMaterialBase)
20 BSShaderMaterial* Create() override; // 01
21 void CopyMembers(BSShaderMaterial* a_src) override; // 02
22 std::uint32_t ComputeCRC32(void) override; // 04
23 Feature GetFeature() const override; // 06 - { return Type::kParallax; }
24 void OnLoadTextureSet(std::uint64_t a_arg1, BSTextureSet* a_textureSet) override; // 08
25 void ClearTextures() override; // 09
26 void ReceiveValuesFromRootMaterial(bool a_skinned, bool a_rimLighting, bool a_softLighting, bool a_backLighting, bool a_MSN) override; // 0A
27 void GetTextures(void) override; // 0B
28
29 // members
31
32 protected:
34 {
35 using func_t = decltype(&BSLightingShaderMaterialParallax::Ctor);
36 REL::Relocation<func_t> func{ RELOCATION_ID(100055, 106762) };
37 return func(this);
38 }
40 };
41 static_assert(sizeof(BSLightingShaderMaterialParallax) == 0xA8);
42}
#define RELOCATION_ID(a_se, a_ae)
Definition PCH.h:794
Definition BSLightingShaderMaterialBase.h:14
Definition BSLightingShaderMaterialParallax.h:11
std::uint32_t ComputeCRC32(void) override
Feature GetFeature() const override
void CopyMembers(BSShaderMaterial *a_src) override
void OnLoadTextureSet(std::uint64_t a_arg1, BSTextureSet *a_textureSet) override
static constexpr auto RTTI
Definition BSLightingShaderMaterialParallax.h:13
BSLightingShaderMaterialParallax * Ctor()
Definition BSLightingShaderMaterialParallax.h:33
BSShaderMaterial * Create() override
static auto FEATURE
Definition BSLightingShaderMaterialParallax.h:15
void ReceiveValuesFromRootMaterial(bool a_skinned, bool a_rimLighting, bool a_softLighting, bool a_backLighting, bool a_MSN) override
NiPointer< NiSourceTexture > heightTexture
Definition BSLightingShaderMaterialParallax.h:30
static constexpr auto VTABLE
Definition BSLightingShaderMaterialParallax.h:14
Definition BSShaderMaterial.h:9
Feature
Definition BSShaderMaterial.h:14
Definition BSTextureSet.h:9
Definition NiSmartPointer.h:9
Definition Relocation.h:1638
Definition AbsorbEffect.h:6
constexpr REL::VariantID RTTI_BSLightingShaderMaterialParallax(692015, 400059, 0x1f7fc50)
constexpr std::array< REL::VariantID, 1 > VTABLE_BSLightingShaderMaterialParallax
Definition Offsets_VTABLE.h:7222