CommonLibSSE (powerof3)
BSLightingShaderMaterialLandscape.h
Go to the documentation of this file.
1 #pragma once
2 
4 #include "RE/N/NiColor.h"
5 #include "RE/N/NiSmartPointer.h"
6 
7 namespace RE
8 {
9  class NiSourceTexture;
10 
12  {
13  public:
14  inline static constexpr auto RTTI = RTTI_BSLightingShaderMaterialLandscape;
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::kMultiTexLandLODBlend; }
22  void ClearTextures(void) override; // 09
23  void ReceiveValuesFromRootMaterial(void) override; // 0A
24  void GetTextures(void) override; // 0B
25 
26  // members
27  std::uint32_t numLandscapeTextures; // 0A0
28  std::uint32_t pad0A4; // 0A4
34  float textureIsSnow[6]; // 118
35  float textureIsSpecPower[6]; // 130
36  float terrainTexOffsetX; // 148
37  float terrainTexOffsetY; // 14C
38  float terrainTexFade; // 150
39  std::uint32_t pad154; // 154
40  };
41  static_assert(sizeof(BSLightingShaderMaterialLandscape) == 0x158);
42 }
Definition: BSLightingShaderMaterialBase.h:13
Definition: BSLightingShaderMaterialLandscape.h:12
NiColorA landBlendParams
Definition: BSLightingShaderMaterialLandscape.h:33
NiPointer< NiSourceTexture > landscapeDiffuseTexture[5]
Definition: BSLightingShaderMaterialLandscape.h:29
void ReceiveValuesFromRootMaterial(void) override
void CopyMembers(BSShaderMaterial *a_src) override
float textureIsSpecPower[6]
Definition: BSLightingShaderMaterialLandscape.h:35
static constexpr auto RTTI
Definition: BSLightingShaderMaterialLandscape.h:14
float terrainTexFade
Definition: BSLightingShaderMaterialLandscape.h:38
Feature GetFeature() const override
std::uint32_t pad154
Definition: BSLightingShaderMaterialLandscape.h:39
float textureIsSnow[6]
Definition: BSLightingShaderMaterialLandscape.h:34
NiPointer< NiSourceTexture > terrainNoiseTexture
Definition: BSLightingShaderMaterialLandscape.h:32
float terrainTexOffsetX
Definition: BSLightingShaderMaterialLandscape.h:36
NiPointer< NiSourceTexture > landscapeNormalTexture[5]
Definition: BSLightingShaderMaterialLandscape.h:30
NiPointer< NiSourceTexture > terrainOverlayTexture
Definition: BSLightingShaderMaterialLandscape.h:31
BSShaderMaterial * Create() override
std::uint32_t numLandscapeTextures
Definition: BSLightingShaderMaterialLandscape.h:27
float terrainTexOffsetY
Definition: BSLightingShaderMaterialLandscape.h:37
std::uint32_t pad0A4
Definition: BSLightingShaderMaterialLandscape.h:28
Definition: BSShaderMaterial.h:9
Feature
Definition: BSShaderMaterial.h:14
Definition: NiColor.h:137
Definition: NiSmartPointer.h:9
Definition: AbsorbEffect.h:6
constexpr REL::ID RTTI_BSLightingShaderMaterialLandscape
Definition: Offsets_RTTI.h:1897