CommonLibSSE NG
Loading...
Searching...
No Matches
BSLightingShaderMaterialLODLandscape.h
Go to the documentation of this file.
1#pragma once
2
4
5namespace RE
6{
7 class NiSourceTexture;
8
10 {
11 public:
12 inline static constexpr auto RTTI = RTTI_BSLightingShaderMaterialLODLandscape;
14 inline static auto FEATURE = Feature::kLODLandNoise;
15
17
18 // override (BSLightingShaderMaterialBase)
19 BSShaderMaterial* Create() override; // 01
20 void CopyMembers(BSShaderMaterial* a_src) override; // 02
21 Feature GetFeature() const override; // 06 - { return Feature::kLODLandNoise; }
22 void ClearTextures() override; // 09
23 void ReceiveValuesFromRootMaterial(bool a_skinned, bool a_rimLighting, bool a_softLighting, bool a_backLighting, bool a_MSN) override; // 0A
24 void GetTextures(void) override; // 0B
25
26 // members
30 float terrainTexOffsetX; // B4
31 float terrainTexOffsetY; // B8
32 float terrainTexFade; // BC
33
34 protected:
36 {
37 using func_t = decltype(&BSLightingShaderMaterialLODLandscape::Ctor);
38 REL::Relocation<func_t> func{ RELOCATION_ID(100110, 106817) };
39 return func(this);
40 }
42 };
43 static_assert(sizeof(BSLightingShaderMaterialLODLandscape) == 0xC8);
44}
#define RELOCATION_ID(a_se, a_ae)
Definition PCH.h:794
Definition BSLightingShaderMaterialBase.h:14
Definition BSLightingShaderMaterialLODLandscape.h:10
NiPointer< NiSourceTexture > landscapeNoiseTexture
Definition BSLightingShaderMaterialLODLandscape.h:29
NiPointer< NiSourceTexture > parentDiffuseTexture
Definition BSLightingShaderMaterialLODLandscape.h:27
void ReceiveValuesFromRootMaterial(bool a_skinned, bool a_rimLighting, bool a_softLighting, bool a_backLighting, bool a_MSN) override
static constexpr auto VTABLE
Definition BSLightingShaderMaterialLODLandscape.h:13
float terrainTexOffsetY
Definition BSLightingShaderMaterialLODLandscape.h:31
NiPointer< NiSourceTexture > parentNormalTexture
Definition BSLightingShaderMaterialLODLandscape.h:28
BSShaderMaterial * Create() override
static constexpr auto RTTI
Definition BSLightingShaderMaterialLODLandscape.h:12
float terrainTexFade
Definition BSLightingShaderMaterialLODLandscape.h:32
BSLightingShaderMaterialLODLandscape * Ctor()
Definition BSLightingShaderMaterialLODLandscape.h:35
static auto FEATURE
Definition BSLightingShaderMaterialLODLandscape.h:14
Feature GetFeature() const override
void CopyMembers(BSShaderMaterial *a_src) override
float terrainTexOffsetX
Definition BSLightingShaderMaterialLODLandscape.h:30
Definition BSShaderMaterial.h:9
Feature
Definition BSShaderMaterial.h:14
Definition NiSmartPointer.h:9
Definition Relocation.h:1638
Definition AbsorbEffect.h:6
constexpr REL::VariantID RTTI_BSLightingShaderMaterialLODLandscape(692021, 400065, 0x1f7fdb0)
constexpr std::array< REL::VariantID, 1 > VTABLE_BSLightingShaderMaterialLODLandscape
Definition Offsets_VTABLE.h:7228