CommonLibSSE (powerof3)
BSLightingShaderMaterialLODLandscape.h
Go to the documentation of this file.
1 #pragma once
2 
4 
5 namespace RE
6 {
7  class NiSourceTexture;
8 
10  {
11  public:
12  inline static constexpr auto RTTI = RTTI_BSLightingShaderMaterialLODLandscape;
13  inline static constexpr auto VTABLE = VTABLE_BSLightingShaderMaterialLODLandscape;
14  inline static constexpr 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  static 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(SE, AE)
Definition: PCH.h:505
Definition: Relocation.h:210
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
BSLightingShaderMaterialLODLandscape * Ctor()
Definition: BSLightingShaderMaterialLODLandscape.h:35
static constexpr auto VTABLE
Definition: BSLightingShaderMaterialLODLandscape.h:13
float terrainTexOffsetY
Definition: BSLightingShaderMaterialLODLandscape.h:31
NiPointer< NiSourceTexture > parentNormalTexture
Definition: BSLightingShaderMaterialLODLandscape.h:28
static constexpr auto FEATURE
Definition: BSLightingShaderMaterialLODLandscape.h:14
static constexpr auto RTTI
Definition: BSLightingShaderMaterialLODLandscape.h:12
float terrainTexFade
Definition: BSLightingShaderMaterialLODLandscape.h:32
Feature GetFeature() const override
void CopyMembers(BSShaderMaterial *a_src) override
BSShaderMaterial * Create() override
float terrainTexOffsetX
Definition: BSLightingShaderMaterialLODLandscape.h:30
Definition: BSShaderMaterial.h:9
Feature
Definition: BSShaderMaterial.h:15
Definition: NiSmartPointer.h:9
Definition: AbsorbEffect.h:6
constexpr REL::ID RTTI_BSLightingShaderMaterialLODLandscape(static_cast< std::uint64_t >(692021))
constexpr std::array< REL::ID, 1 > VTABLE_BSLightingShaderMaterialLODLandscape
Definition: Offsets_VTABLE.h:9209