CommonLibSSE (powerof3)
BSLightingShaderMaterialSnow.h
Go to the documentation of this file.
1 #pragma once
2 
4 #include "RE/N/NiColor.h"
5 
6 namespace RE
7 {
9  {
10  public:
11  inline static constexpr auto RTTI = RTTI_BSLightingShaderMaterialSnow;
12  inline static constexpr auto VTABLE = VTABLE_BSLightingShaderMaterialSnow;
13  inline static constexpr auto FEATURE = Feature::kMultiIndexTriShapeSnow;
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::kMultiIndexTriShapeSnow; }
22  void SaveBinary(NiStream& a_stream) override; // 0C
23  void LoadBinary(NiStream& a_stream) override; // 0D
24 
25  // members
27 
28  protected:
30  {
31  using func_t = decltype(&BSLightingShaderMaterialSnow::Ctor);
32  static REL::Relocation<func_t> func{ RELOCATION_ID(100118, 106825) };
33  return func(this);
34  }
36  };
37  static_assert(sizeof(BSLightingShaderMaterialSnow) == 0xB0);
38 }
#define RELOCATION_ID(SE, AE)
Definition: PCH.h:505
Definition: Relocation.h:210
Definition: BSLightingShaderMaterialBase.h:14
Definition: BSLightingShaderMaterialSnow.h:9
NiColorA sparkleParams
Definition: BSLightingShaderMaterialSnow.h:26
void SaveBinary(NiStream &a_stream) override
void LoadBinary(NiStream &a_stream) override
void CopyMembers(BSShaderMaterial *a_src) override
static constexpr auto FEATURE
Definition: BSLightingShaderMaterialSnow.h:13
std::uint32_t ComputeCRC32(void) override
static constexpr auto VTABLE
Definition: BSLightingShaderMaterialSnow.h:12
BSLightingShaderMaterialSnow * Ctor()
Definition: BSLightingShaderMaterialSnow.h:29
Feature GetFeature() const override
static constexpr auto RTTI
Definition: BSLightingShaderMaterialSnow.h:11
BSShaderMaterial * Create() override
Definition: BSShaderMaterial.h:9
Feature
Definition: BSShaderMaterial.h:15
Definition: NiColor.h:281
Definition: NiStream.h:29
Definition: AbsorbEffect.h:6
constexpr std::array< REL::ID, 1 > VTABLE_BSLightingShaderMaterialSnow
Definition: Offsets_VTABLE.h:9214
constexpr REL::ID RTTI_BSLightingShaderMaterialSnow(static_cast< std::uint64_t >(692022))