CommonLibSSE NG
BSLightingShaderMaterialHairTint.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_BSLightingShaderMaterialHairTint;
12  inline static constexpr auto VTABLE = VTABLE_BSLightingShaderMaterialHairTint;
13  inline static auto FEATURE = Feature::kHairTint;
14 
16 
17  // override (BSLightingShaderMaterialBase)
18  BSShaderMaterial* Create() override; // 01
19  void CopyMembers(BSShaderMaterial* a_other) override; // 02
20  std::uint32_t ComputeCRC32(void) override; // 04
21  Feature GetFeature() const override; // 06 - { return Feature::kHairTint; }
22  void SaveBinary(NiStream& a_stream) override; // 0C
23  void LoadBinary(NiStream& a_stream) override; // 0D
24 
25  // members
27  std::uint32_t padAC; // AC
28 
29  protected:
31  {
32  using func_t = decltype(&BSLightingShaderMaterialHairTint::Ctor);
33  REL::Relocation<func_t> func{ RELOCATION_ID(100095, 106802) };
34  return func(this);
35  }
37  };
38  static_assert(sizeof(BSLightingShaderMaterialHairTint) == 0xB0);
39 }
#define RELOCATION_ID(a_se, a_ae)
Definition: PCH.h:724
Definition: Relocation.h:204
Definition: BSLightingShaderMaterialBase.h:14
Definition: BSLightingShaderMaterialHairTint.h:9
Feature GetFeature() const override
std::uint32_t ComputeCRC32(void) override
static auto FEATURE
Definition: BSLightingShaderMaterialHairTint.h:13
void CopyMembers(BSShaderMaterial *a_other) override
static constexpr auto VTABLE
Definition: BSLightingShaderMaterialHairTint.h:12
BSShaderMaterial * Create() override
void SaveBinary(NiStream &a_stream) override
std::uint32_t padAC
Definition: BSLightingShaderMaterialHairTint.h:27
void LoadBinary(NiStream &a_stream) override
NiColor tintColor
Definition: BSLightingShaderMaterialHairTint.h:26
BSLightingShaderMaterialHairTint * Ctor()
Definition: BSLightingShaderMaterialHairTint.h:30
static constexpr auto RTTI
Definition: BSLightingShaderMaterialHairTint.h:11
Definition: BSShaderMaterial.h:9
Feature
Definition: BSShaderMaterial.h:14
Definition: NiColor.h:11
Definition: NiStream.h:29
Definition: AbsorbEffect.h:6
constexpr REL::VariantID RTTI_BSLightingShaderMaterialHairTint(692019, 400063, 0x1f7fd40)
constexpr std::array< REL::VariantID, 1 > VTABLE_BSLightingShaderMaterialHairTint
Definition: Offsets_VTABLE.h:7226