CommonLibSSE (powerof3)
BSLightingShaderMaterialFacegen.h
Go to the documentation of this file.
1 #pragma once
2 
4 #include "RE/N/NiSmartPointer.h"
5 
6 namespace RE
7 {
8  class NiSourceTexture;
9 
11  {
12  public:
13  inline static constexpr auto RTTI = RTTI_BSLightingShaderMaterialFacegen;
14  inline static constexpr auto VTABLE = VTABLE_BSLightingShaderMaterialFacegen;
15  inline static constexpr auto FEATURE = Feature::kFaceGen;
16 
18 
19  // override (BSLightingShaderMaterialBase)
20  BSShaderMaterial* Create() override; // 01
21  void CopyMembers(BSShaderMaterial* a_other) override; // 02
22  std::uint32_t ComputeCRC32(void) override; // 04
23  Feature GetFeature() const override; // 06 - { return Feature::kFaceGen; }
24  void OnLoadTextureSet(std::uint64_t a_arg1, BSTextureSet* a_textureSet) override; // 08
25  void ClearTextures() override; // 09
26  void ReceiveValuesFromRootMaterial(bool a_skinned, bool a_rimLighting, bool a_softLighting, bool a_backLighting, bool a_MSN) override; // 0A
27  void GetTextures(void) override; // 0B
28 
29  // members
33 
34  protected:
36  {
37  using func_t = decltype(&BSLightingShaderMaterialFacegen::Ctor);
38  static REL::Relocation<func_t> func{ RELOCATION_ID(100077, 106784) };
39  return func(this);
40  }
42  };
43  static_assert(sizeof(BSLightingShaderMaterialFacegen) == 0xB8);
44 }
#define RELOCATION_ID(SE, AE)
Definition: PCH.h:505
Definition: Relocation.h:210
Definition: BSLightingShaderMaterialBase.h:14
Definition: BSLightingShaderMaterialFacegen.h:11
void ReceiveValuesFromRootMaterial(bool a_skinned, bool a_rimLighting, bool a_softLighting, bool a_backLighting, bool a_MSN) override
Feature GetFeature() const override
void CopyMembers(BSShaderMaterial *a_other) override
NiPointer< NiSourceTexture > subsurfaceTexture
Definition: BSLightingShaderMaterialFacegen.h:32
static constexpr auto FEATURE
Definition: BSLightingShaderMaterialFacegen.h:15
NiPointer< NiSourceTexture > detailTexture
Definition: BSLightingShaderMaterialFacegen.h:31
static constexpr auto RTTI
Definition: BSLightingShaderMaterialFacegen.h:13
BSLightingShaderMaterialFacegen * Ctor()
Definition: BSLightingShaderMaterialFacegen.h:35
NiPointer< NiSourceTexture > tintTexture
Definition: BSLightingShaderMaterialFacegen.h:30
void OnLoadTextureSet(std::uint64_t a_arg1, BSTextureSet *a_textureSet) override
std::uint32_t ComputeCRC32(void) override
BSShaderMaterial * Create() override
static constexpr auto VTABLE
Definition: BSLightingShaderMaterialFacegen.h:14
Definition: BSShaderMaterial.h:9
Feature
Definition: BSShaderMaterial.h:15
Definition: BSTextureSet.h:9
Definition: NiSmartPointer.h:9
Definition: AbsorbEffect.h:6
constexpr std::array< REL::ID, 1 > VTABLE_BSLightingShaderMaterialFacegen
Definition: Offsets_VTABLE.h:9205
constexpr REL::ID RTTI_BSLightingShaderMaterialFacegen(static_cast< std::uint64_t >(692017))