15#define RUNTIME_DATA_CONTENT \
16 std::uint16_t triangleCount; \
17 std::uint16_t vertexCount; \
22 static_assert(
sizeof(TRISHAPE_RUNTIME_DATA) == 0x8);
38 return REL::RelocateMember<TRISHAPE_RUNTIME_DATA>(
this, 0x158, 0x1A0);
43 return REL::RelocateMember<TRISHAPE_RUNTIME_DATA>(
this, 0x158, 0x1A0);
47#ifndef SKYRIM_CROSS_VR
51#ifndef ENABLE_SKYRIM_VR
52 static_assert(
sizeof(BSTriShape) == 0x160);
53#elif !defined(ENABLE_SKYRIM_AE) && !defined(ENABLE_SKYRIM_SE)
54 static_assert(
sizeof(BSTriShape) == 0x1A8);
57#undef RUNTIME_DATA_CONTENT
Definition BSGeometry.h:15
RUNTIME_DATA_CONTENT
Definition BSGeometry.h:141
Definition BSTriShape.h:8
bool IsEqual(NiObject *a_object) override
BSTriShape * AsTriShape() override
static auto Ni_RTTI
Definition BSTriShape.h:11
TRISHAPE_RUNTIME_DATA & GetTrishapeRuntimeData() noexcept
Definition BSTriShape.h:36
void LoadBinary(NiStream &a_stream) override
void LinkObject(NiStream &a_stream) override
bool RegisterStreamables(NiStream &a_stream) override
static constexpr auto RTTI
Definition BSTriShape.h:10
NiObject * CreateClone(NiCloningProcess &a_cloning) override
const TRISHAPE_RUNTIME_DATA & GetTrishapeRuntimeData() const noexcept
Definition BSTriShape.h:41
const NiRTTI * GetRTTI() const override
void SaveBinary(NiStream &a_stream) override
Definition NiCloningProcess.h:10
Definition AbsorbEffect.h:6
constexpr REL::VariantID NiRTTI_BSTriShape(523928, 410508, 0x316adb0)
constexpr REL::VariantID RTTI_BSTriShape(685042, 392796, 0x1ede788)
Definition BSTriShape.h:14