CommonLibSSE (Parapets fork)
BSLightingShaderMaterialEye.h
Go to the documentation of this file.
1 #pragma once
2 
4 #include "RE/N/NiPoint3.h"
5 #include "RE/N/NiSmartPointer.h"
6 
7 namespace RE
8 {
9  class NiSourceTexture;
10 
12  {
13  public:
14  inline static constexpr auto RTTI = RTTI_BSLightingShaderMaterialEye;
15 
16  ~BSLightingShaderMaterialEye() override; // 00
17 
18  // override (BSLightingShaderMaterialBase)
19  BSShaderMaterial* Create() override; // 01
20  void CopyMembers(BSShaderMaterial* a_other) override; // 02
21  std::uint32_t ComputeCRC32(void) override; // 04
22  Feature GetFeature() const override; // 06 - { return Feature::kEye; }
23  void OnLoadTextureSet(void) override; // 08
24  void ClearTextures(void) override; // 09
25  void ReceiveValuesFromRootMaterial(void) override; // 0A
26  void GetTextures(void) override; // 0B
27  void SaveBinary(void) override; // 0C
28  void LoadBinary(void) override; // 0D
29 
30  // members
33  float envMapScale; // B0
34  NiPoint3 eyeCenter[2]; // B4
35  std::uint32_t padC8; // CC
36  };
37  static_assert(sizeof(BSLightingShaderMaterialEye) == 0xD0);
38 }
Definition: BSLightingShaderMaterialBase.h:13
Definition: BSLightingShaderMaterialEye.h:12
void GetTextures(void) override
NiPoint3 eyeCenter[2]
Definition: BSLightingShaderMaterialEye.h:34
NiPointer< NiSourceTexture > envMaskTexture
Definition: BSLightingShaderMaterialEye.h:32
std::uint32_t padC8
Definition: BSLightingShaderMaterialEye.h:35
float envMapScale
Definition: BSLightingShaderMaterialEye.h:33
std::uint32_t ComputeCRC32(void) override
static constexpr auto RTTI
Definition: BSLightingShaderMaterialEye.h:14
NiPointer< NiSourceTexture > envTexture
Definition: BSLightingShaderMaterialEye.h:31
void OnLoadTextureSet(void) override
void ClearTextures(void) override
void SaveBinary(void) override
Feature GetFeature() const override
BSShaderMaterial * Create() override
void LoadBinary(void) override
void CopyMembers(BSShaderMaterial *a_other) override
void ReceiveValuesFromRootMaterial(void) override
Definition: BSShaderMaterial.h:9
Feature
Definition: BSShaderMaterial.h:14
Definition: NiPoint3.h:6
Definition: NiSmartPointer.h:9
Definition: AbsorbEffect.h:6
constexpr REL::ID RTTI_BSLightingShaderMaterialEye
Definition: Offsets_RTTI.h:1891