CommonLibSSE NG
BSEffectShaderMaterial.h
Go to the documentation of this file.
1 #pragma once
2 
4 #include "RE/N/NiColor.h"
5 #include "RE/N/NiSmartPointer.h"
7 
8 namespace RE
9 {
10  class NiSourceTexture;
11 
13  {
14  public:
15  inline static constexpr auto RTTI = RTTI_BSEffectShaderMaterial;
16 
17  ~BSEffectShaderMaterial() override; // 00
18 
19  // override (BSShaderMaterial)
20  BSShaderMaterial* Create() override; // 01
21  void CopyMembers(BSShaderMaterial* a_other) override; // 02
22  bool DoIsCopy(BSShaderMaterial* a_other) override; // 03
23  std::uint32_t ComputeCRC32(void) override; // 04
24  BSShaderMaterial* GetDefault() override; // 05
25  Type GetType() const override; // 07 - { return Type::kEffect; }
26 
27  // members
28  float falloffStartAngle; // 38
29  float falloffStopAngle; // 3C
30  float falloffStartOpacity; // 40
31  float falloffStopOpacity; // 44
35  float softFalloffDepth; // 68
36  float baseColorScale; // 6C
40  std::uint8_t unk81; // 81
41  };
42  static_assert(sizeof(BSEffectShaderMaterial) == 0x88);
43 }
Definition: BSEffectShaderMaterial.h:13
NiPointer< NiSourceTexture > greyscaleTexture
Definition: BSEffectShaderMaterial.h:34
float falloffStopAngle
Definition: BSEffectShaderMaterial.h:29
std::uint32_t ComputeCRC32(void) override
float falloffStopOpacity
Definition: BSEffectShaderMaterial.h:31
bool DoIsCopy(BSShaderMaterial *a_other) override
BSFixedString greyscaleTexturePath
Definition: BSEffectShaderMaterial.h:38
NiPointer< NiSourceTexture > sourceTexture
Definition: BSEffectShaderMaterial.h:33
std::uint8_t unk81
Definition: BSEffectShaderMaterial.h:40
void CopyMembers(BSShaderMaterial *a_other) override
static constexpr auto RTTI
Definition: BSEffectShaderMaterial.h:15
BSShaderMaterial * Create() override
BSFixedString sourceTexturePath
Definition: BSEffectShaderMaterial.h:37
Type GetType() const override
float softFalloffDepth
Definition: BSEffectShaderMaterial.h:35
float falloffStartOpacity
Definition: BSEffectShaderMaterial.h:30
float falloffStartAngle
Definition: BSEffectShaderMaterial.h:28
stl::enumeration< BSGraphics::TextureAddressMode, std::uint8_t > effectClampMode
Definition: BSEffectShaderMaterial.h:39
~BSEffectShaderMaterial() override
BSShaderMaterial * GetDefault() override
float baseColorScale
Definition: BSEffectShaderMaterial.h:36
NiColorA baseColor
Definition: BSEffectShaderMaterial.h:32
Definition: BSShaderMaterial.h:9
Type
Definition: BSShaderMaterial.h:38
Definition: NiColor.h:276
Definition: NiSmartPointer.h:9
Definition: AbsorbEffect.h:6
constexpr REL::VariantID RTTI_BSEffectShaderMaterial(692055, 400099, 0x1f80650)