CommonLibSSE (powerof3)
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  inline static constexpr auto VTABLE = VTABLE_BSEffectShaderMaterial;
17 
18  ~BSEffectShaderMaterial() override; // 00
19 
20  // override (BSShaderMaterial)
21  BSShaderMaterial* Create() override; // 01
22  void CopyMembers(BSShaderMaterial* a_other) override; // 02
23  bool DoIsCopy(BSShaderMaterial* a_other) override; // 03
24  std::uint32_t ComputeCRC32(void) override; // 04
25  BSShaderMaterial* GetDefault() override; // 05
26  Type GetType() const override; // 07 - { return Type::kEffect; }
27 
28  // members
29  float falloffStartAngle; // 38
30  float falloffStopAngle; // 3C
31  float falloffStartOpacity; // 40
32  float falloffStopOpacity; // 44
36  float softFalloffDepth; // 68
37  float baseColorScale; // 6C
41  std::uint8_t unk81; // 81
42  };
43  static_assert(sizeof(BSEffectShaderMaterial) == 0x88);
44 }
Definition: BSEffectShaderMaterial.h:13
NiPointer< NiSourceTexture > greyscaleTexture
Definition: BSEffectShaderMaterial.h:35
float falloffStopAngle
Definition: BSEffectShaderMaterial.h:30
std::uint32_t ComputeCRC32(void) override
float falloffStopOpacity
Definition: BSEffectShaderMaterial.h:32
bool DoIsCopy(BSShaderMaterial *a_other) override
BSFixedString greyscaleTexturePath
Definition: BSEffectShaderMaterial.h:39
static constexpr auto VTABLE
Definition: BSEffectShaderMaterial.h:16
NiPointer< NiSourceTexture > sourceTexture
Definition: BSEffectShaderMaterial.h:34
std::uint8_t unk81
Definition: BSEffectShaderMaterial.h:41
void CopyMembers(BSShaderMaterial *a_other) override
static constexpr auto RTTI
Definition: BSEffectShaderMaterial.h:15
BSShaderMaterial * Create() override
BSFixedString sourceTexturePath
Definition: BSEffectShaderMaterial.h:38
Type GetType() const override
float softFalloffDepth
Definition: BSEffectShaderMaterial.h:36
float falloffStartOpacity
Definition: BSEffectShaderMaterial.h:31
float falloffStartAngle
Definition: BSEffectShaderMaterial.h:29
~BSEffectShaderMaterial() override
BSShaderMaterial * GetDefault() override
float baseColorScale
Definition: BSEffectShaderMaterial.h:37
NiColorA baseColor
Definition: BSEffectShaderMaterial.h:33
REX::EnumSet< BSGraphics::TextureAddressMode, std::uint8_t > effectClampMode
Definition: BSEffectShaderMaterial.h:40
Definition: BSShaderMaterial.h:9
Type
Definition: BSShaderMaterial.h:39
Definition: NiColor.h:281
Definition: NiSmartPointer.h:9
Definition: AbsorbEffect.h:6
constexpr REL::ID RTTI_BSEffectShaderMaterial(static_cast< std::uint64_t >(692055))
constexpr std::array< REL::ID, 1 > VTABLE_BSEffectShaderMaterial
Definition: Offsets_VTABLE.h:9002