CommonLibSSE NG
Loading...
Searching...
No Matches
BSLightingShaderMaterialParallaxOcc.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_BSLightingShaderMaterialParallaxOcc;
14 inline static constexpr auto VTABLE = VTABLE_BSLightingShaderMaterialParallaxOcc;
15 inline static auto FEATURE = Feature::kParallaxOcc;
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 Feature::kParallaxOcc; }
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 void SaveBinary(NiStream& a_stream) override; // 0C
29 void LoadBinary(NiStream& a_stream) override; // 0D
30
31 // members
34 float parallaxOccScale; // AC
35
36 protected:
38 {
39 using func_t = decltype(&BSLightingShaderMaterialParallaxOcc::Ctor);
40 REL::Relocation<func_t> func{ RELOCATION_ID(100065, 106772) };
41 return func(this);
42 }
44 };
45 static_assert(sizeof(BSLightingShaderMaterialParallaxOcc) == 0xB0);
46}
#define RELOCATION_ID(a_se, a_ae)
Definition PCH.h:794
Definition BSLightingShaderMaterialBase.h:14
Definition BSLightingShaderMaterialParallaxOcc.h:11
void LoadBinary(NiStream &a_stream) override
static constexpr auto RTTI
Definition BSLightingShaderMaterialParallaxOcc.h:13
std::uint32_t ComputeCRC32(void) override
NiPointer< NiSourceTexture > heightTexture
Definition BSLightingShaderMaterialParallaxOcc.h:32
static constexpr auto VTABLE
Definition BSLightingShaderMaterialParallaxOcc.h:14
void SaveBinary(NiStream &a_stream) override
BSLightingShaderMaterialParallaxOcc * Ctor()
Definition BSLightingShaderMaterialParallaxOcc.h:37
void CopyMembers(BSShaderMaterial *a_src) override
void ReceiveValuesFromRootMaterial(bool a_skinned, bool a_rimLighting, bool a_softLighting, bool a_backLighting, bool a_MSN) override
void OnLoadTextureSet(std::uint64_t a_arg1, BSTextureSet *a_textureSet) override
Feature GetFeature() const override
float parallaxOccMaxPasses
Definition BSLightingShaderMaterialParallaxOcc.h:33
float parallaxOccScale
Definition BSLightingShaderMaterialParallaxOcc.h:34
BSShaderMaterial * Create() override
static auto FEATURE
Definition BSLightingShaderMaterialParallaxOcc.h:15
Definition BSShaderMaterial.h:9
Feature
Definition BSShaderMaterial.h:14
Definition BSTextureSet.h:9
Definition NiSmartPointer.h:9
Definition NiStream.h:27
Definition Relocation.h:1638
Definition AbsorbEffect.h:6
constexpr REL::VariantID RTTI_BSLightingShaderMaterialParallaxOcc(692016, 400060, 0x1f7fc88)
constexpr std::array< REL::VariantID, 1 > VTABLE_BSLightingShaderMaterialParallaxOcc
Definition Offsets_VTABLE.h:7223