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