CommonLibVR
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 constexpr 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  static REL::Relocation<func_t> func{ RELOCATION_ID(100095, 106802) };
34  return func(this);
35  }
37 
38  private:
39  KEEP_FOR_RE()
40  };
41  static_assert(sizeof(BSLightingShaderMaterialHairTint) == 0xB0);
42 }
#define KEEP_FOR_RE()
Definition: PCH.h:713
#define RELOCATION_ID(SE, AE)
Definition: PCH.h:702
Definition: Relocation.h:210
Definition: BSLightingShaderMaterialBase.h:14
Definition: BSLightingShaderMaterialHairTint.h:9
Feature GetFeature() const override
std::uint32_t ComputeCRC32(void) override
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
static constexpr auto FEATURE
Definition: BSLightingShaderMaterialHairTint.h:13
BSLightingShaderMaterialHairTint * Ctor()
Definition: BSLightingShaderMaterialHairTint.h:30
static constexpr auto RTTI
Definition: BSLightingShaderMaterialHairTint.h:11
Definition: BSShaderMaterial.h:9
Feature
Definition: BSShaderMaterial.h:15
Definition: NiColor.h:11
Definition: NiStream.h:29
Definition: AbsorbEffect.h:6
constexpr REL::ID RTTI_BSLightingShaderMaterialHairTint(static_cast< std::uint64_t >(692019))
constexpr std::array< REL::ID, 1 > VTABLE_BSLightingShaderMaterialHairTint
Definition: Offsets_VTABLE.h:9208