CommonLibSSE (powerof3)
BSLightingShaderMaterialMultiLayerParallax.h
Go to the documentation of this file.
1 #pragma once
2 
4 #include "RE/N/NiSmartPointer.h"
5 
6 namespace RE
7 {
8  class NiSourceTexture;
9 
11  {
12  public:
13  inline static constexpr auto RTTI = RTTI_BSLightingShaderMaterialMultiLayerParallax;
14 
16 
17  // override (BSLightingShaderMaterialBase)
18  BSShaderMaterial* Create() override; // 01
19  void CopyMembers(BSShaderMaterial* a_src) override; // 02
20  std::uint32_t ComputeCRC32(void) override; // 04
21  Feature GetFeature() const override; // 06 - { return Feature::kMultilayerParallax; }
22  void OnLoadTextureSet(void) override; // 08
23  void ClearTextures(void) override; // 09
24  void ReceiveValuesFromRootMaterial(void) override; // 0A
25  void GetTextures(void) override; // 0B
26  void SaveBinary(void) override; // 0C
27  void LoadBinary(void) override; // 0D
28 
29  // members
37  float envmapScale; // C8
38  std::uint32_t padCC; // CC
39  };
40  static_assert(sizeof(BSLightingShaderMaterialMultiLayerParallax) == 0xD0);
41 }
Definition: BSLightingShaderMaterialBase.h:13
Definition: BSLightingShaderMaterialMultiLayerParallax.h:11
float parallaxInnerLayerVScale
Definition: BSLightingShaderMaterialMultiLayerParallax.h:36
std::uint32_t ComputeCRC32(void) override
float parallaxRefractionScale
Definition: BSLightingShaderMaterialMultiLayerParallax.h:34
static constexpr auto RTTI
Definition: BSLightingShaderMaterialMultiLayerParallax.h:13
BSShaderMaterial * Create() override
NiPointer< NiSourceTexture > envMaskTexture
Definition: BSLightingShaderMaterialMultiLayerParallax.h:32
NiPointer< NiSourceTexture > layerTexture
Definition: BSLightingShaderMaterialMultiLayerParallax.h:30
float parallaxLayerThickness
Definition: BSLightingShaderMaterialMultiLayerParallax.h:33
float envmapScale
Definition: BSLightingShaderMaterialMultiLayerParallax.h:37
NiPointer< NiSourceTexture > envTexture
Definition: BSLightingShaderMaterialMultiLayerParallax.h:31
float parallaxInnerLayerUScale
Definition: BSLightingShaderMaterialMultiLayerParallax.h:35
void CopyMembers(BSShaderMaterial *a_src) override
std::uint32_t padCC
Definition: BSLightingShaderMaterialMultiLayerParallax.h:38
Definition: BSShaderMaterial.h:9
Feature
Definition: BSShaderMaterial.h:14
Definition: NiSmartPointer.h:9
Definition: AbsorbEffect.h:6
constexpr REL::ID RTTI_BSLightingShaderMaterialMultiLayerParallax
Definition: Offsets_RTTI.h:1898