CommonLibSSE (powerof3)
BSLightingShaderMaterialParallaxOcc.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_BSLightingShaderMaterialParallaxOcc;
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::kParallaxOcc; }
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
31  float parallaxOccMaxPasses; // A8
32  float parallaxOccScale; // AC
33  };
34  static_assert(sizeof(BSLightingShaderMaterialParallaxOcc) == 0xB0);
35 }
Definition: BSLightingShaderMaterialBase.h:13
Definition: BSLightingShaderMaterialParallaxOcc.h:11
static constexpr auto RTTI
Definition: BSLightingShaderMaterialParallaxOcc.h:13
std::uint32_t ComputeCRC32(void) override
BSShaderMaterial * Create() override
NiPointer< NiSourceTexture > heightTexture
Definition: BSLightingShaderMaterialParallaxOcc.h:30
void ReceiveValuesFromRootMaterial(void) override
void CopyMembers(BSShaderMaterial *a_src) override
Feature GetFeature() const override
float parallaxOccMaxPasses
Definition: BSLightingShaderMaterialParallaxOcc.h:31
float parallaxOccScale
Definition: BSLightingShaderMaterialParallaxOcc.h:32
Definition: BSShaderMaterial.h:9
Feature
Definition: BSShaderMaterial.h:14
Definition: NiSmartPointer.h:9
Definition: AbsorbEffect.h:6
constexpr REL::ID RTTI_BSLightingShaderMaterialParallaxOcc
Definition: Offsets_RTTI.h:1900