CommonLibSSE (powerof3)
BSLightingShaderMaterialFacegenTint.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_BSLightingShaderMaterialFacegenTint;
12  inline static constexpr auto VTABLE = VTABLE_BSLightingShaderMaterialFacegenTint;
13  inline static constexpr auto FEATURE = Feature::kFaceGenRGBTint;
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::kFaceGenRGBTint; }
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(&BSLightingShaderMaterialFacegenTint::Ctor);
33  static REL::Relocation<func_t> func{ RELOCATION_ID(100087, 106794) };
34  return func(this);
35  }
37  };
38  static_assert(sizeof(BSLightingShaderMaterialFacegenTint) == 0xB0);
39 }
#define RELOCATION_ID(SE, AE)
Definition: PCH.h:505
Definition: Relocation.h:210
Definition: BSLightingShaderMaterialBase.h:14
Definition: BSLightingShaderMaterialFacegenTint.h:9
static constexpr auto FEATURE
Definition: BSLightingShaderMaterialFacegenTint.h:13
void CopyMembers(BSShaderMaterial *a_other) override
void LoadBinary(NiStream &a_stream) override
BSLightingShaderMaterialFacegenTint * Ctor()
Definition: BSLightingShaderMaterialFacegenTint.h:30
std::uint32_t padAC
Definition: BSLightingShaderMaterialFacegenTint.h:27
Feature GetFeature() const override
NiColor tintColor
Definition: BSLightingShaderMaterialFacegenTint.h:26
BSShaderMaterial * Create() override
static constexpr auto RTTI
Definition: BSLightingShaderMaterialFacegenTint.h:11
void SaveBinary(NiStream &a_stream) override
std::uint32_t ComputeCRC32(void) override
static constexpr auto VTABLE
Definition: BSLightingShaderMaterialFacegenTint.h:12
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_BSLightingShaderMaterialFacegenTint(static_cast< std::uint64_t >(692018))
constexpr std::array< REL::ID, 1 > VTABLE_BSLightingShaderMaterialFacegenTint
Definition: Offsets_VTABLE.h:9206