CommonLibSSE (Parapets fork)
BSMultiIndexTriShape.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include "RE/B/BSTriShape.h"
4 #include "RE/N/NiColor.h"
5 #include "RE/N/NiSmartPointer.h"
6 
7 namespace RE
8 {
9  namespace BSGraphics
10  {
11  class IndexBuffer;
12  }
13 
14  class BSShaderProperty;
15 
17  {
18  public:
19  inline static constexpr auto RTTI = RTTI_BSMultiIndexTriShape;
20  inline static constexpr auto Ni_RTTI = NiRTTI_BSMultiIndexTriShape;
21 
22  ~BSMultiIndexTriShape() override; // 00
23 
24  // override (BSGeometry)
25  const NiRTTI* GetRTTI() const override; // 02
26  NiObject* CreateClone(NiCloningProcess& a_cloning) override; // 17
27  BSMultiIndexTriShape* AsMultiIndexTriShape() override; // 35 - { return this; }
28 
29  // members
30  BSGraphics::IndexBuffer* altIndexBuffer; // 160
31  std::uint32_t altPrimCount; // 168
33  std::uint32_t pad1AC; // 1AC
35  std::uint8_t useAdditionalTriList; // 1B8
36  std::uint8_t pad1B9; // 1B9
37  std::uint16_t pad1BA; // 1BA
39  float materialScale; // 1CC
40  float normalDampener; // 1D0
41  std::uint32_t unk1D4; // 1D4
42  };
43 #ifndef SKYRIMVR
44  static_assert(sizeof(BSMultiIndexTriShape) == 0x1D8);
45 #else
46  //static_assert(sizeof(BSMultiIndexTriShape) == 0x258);
47 #endif
48 }
Definition: BSMultiIndexTriShape.h:17
std::uint8_t pad1B9
Definition: BSMultiIndexTriShape.h:36
NiPointer< BSShaderProperty > additionalShaderProperty
Definition: BSMultiIndexTriShape.h:34
float normalDampener
Definition: BSMultiIndexTriShape.h:40
BSMultiIndexTriShape * AsMultiIndexTriShape() override
std::uint32_t pad1AC
Definition: BSMultiIndexTriShape.h:33
std::uint8_t useAdditionalTriList
Definition: BSMultiIndexTriShape.h:35
float materialScale
Definition: BSMultiIndexTriShape.h:39
std::uint32_t altPrimCount
Definition: BSMultiIndexTriShape.h:31
std::uint32_t unk1D4
Definition: BSMultiIndexTriShape.h:41
std::uint16_t pad1BA
Definition: BSMultiIndexTriShape.h:37
static constexpr auto Ni_RTTI
Definition: BSMultiIndexTriShape.h:20
const NiRTTI * GetRTTI() const override
NiObject * CreateClone(NiCloningProcess &a_cloning) override
static constexpr auto RTTI
Definition: BSMultiIndexTriShape.h:19
NiColorA materialParams
Definition: BSMultiIndexTriShape.h:38
DirectX::XMFLOAT4X4 materialProjection
Definition: BSMultiIndexTriShape.h:32
~BSMultiIndexTriShape() override
BSGraphics::IndexBuffer * altIndexBuffer
Definition: BSMultiIndexTriShape.h:30
Definition: BSShaderProperty.h:12
Definition: BSTriShape.h:8
Definition: NiColor.h:137
Definition: NiObject.h:37
Definition: NiSmartPointer.h:9
Definition: NiRTTI.h:6
Definition: AbsorbEffect.h:6
constexpr REL::ID RTTI_BSMultiIndexTriShape
Definition: Offsets_RTTI.h:1947
constexpr REL::ID NiRTTI_BSMultiIndexTriShape
Definition: Offsets_NiRTTI.h:75
Definition: WinAPI.h:350