26 #define RUNTIME_DATA_CONTENT \
27 BSGraphics::IndexBuffer* altIndexBuffer; \
28 std::uint32_t altPrimCount; \
29 REX::W32::XMFLOAT4X4 materialProjection; \
30 std::uint32_t pad1AC; \
31 NiPointer<BSShaderProperty> additionalShaderProperty; \
32 std::uint8_t useAdditionalTriList; \
33 std::uint8_t pad1B9; \
34 std::uint16_t pad1BA; \
35 NiColorA materialParams; \
36 float materialScale; \
37 float normalDampener; \
42 static_assert(
sizeof(MULTI_INDEX_TRISHAPE_RUNTIME_DATA) == 0x78);
49 #if !defined(ENABLE_SKYRIM_VR) || (!defined(ENABLE_SKYRIM_AE) && !defined(ENABLE_SKYRIM_VR))
56 return REL::RelocateMember<MULTI_INDEX_TRISHAPE_RUNTIME_DATA>(
this, 0x160, 0x1A8);
61 return REL::RelocateMember<MULTI_INDEX_TRISHAPE_RUNTIME_DATA>(
this, 0x160, 0x1A8);
65 #ifndef SKYRIM_CROSS_VR
69 #ifndef ENABLE_SKYRIM_VR
70 static_assert(
sizeof(BSMultiIndexTriShape) == 0x1D8);
71 #elif !defined(ENABLE_SKYRIM_AE) && !defined(ENABLE_SKYRIM_SE)
72 static_assert(
sizeof(BSMultiIndexTriShape) == 0x220);
75 #undef RUNTIME_DATA_CONTENT
RUNTIME_DATA_CONTENT
Definition: BSGeometry.h:141
Definition: BSMultiIndexTriShape.h:19
BSMultiIndexTriShape * AsMultiIndexTriShape() override
const MULTI_INDEX_TRISHAPE_RUNTIME_DATA & GetMultiIndexTrishapeRuntimeData() const noexcept
Definition: BSMultiIndexTriShape.h:59
MULTI_INDEX_TRISHAPE_RUNTIME_DATA & GetMultiIndexTrishapeRuntimeData() noexcept
Definition: BSMultiIndexTriShape.h:54
const NiRTTI * GetRTTI() const override
NiObject * CreateClone(NiCloningProcess &a_cloning) override
static constexpr auto RTTI
Definition: BSMultiIndexTriShape.h:21
~BSMultiIndexTriShape() override
static auto Ni_RTTI
Definition: BSMultiIndexTriShape.h:22
Definition: BSShaderProperty.h:17
Definition: BSTriShape.h:8
Definition: NiCloningProcess.h:10
Definition: NiObject.h:37
Definition: AbsorbEffect.h:6
constexpr REL::VariantID RTTI_BSMultiIndexTriShape(692088, 400132, 0x1f80ad8)
constexpr REL::VariantID NiRTTI_BSMultiIndexTriShape(528364, 415310, 0x36f1aa0)
Definition: BSMultiIndexTriShape.h:25