CommonLibSSE (powerof3)
BSInstanceTriShape.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include "RE/B/BSTArray.h"
4 #include "RE/B/BSTriShape.h"
5 
6 namespace RE
7 {
9  {
10  public:
11  inline static constexpr auto RTTI = RTTI_BSInstanceTriShape;
12  inline static constexpr auto Ni_RTTI = NiRTTI_BSInstanceTriShape;
13  inline static constexpr auto VTABLE = VTABLE_BSInstanceTriShape;
14 
15  ~BSInstanceTriShape() override; // 00
16 
17  // override (BSTriShape)
18  const NiRTTI* GetRTTI() const override; // 02
19 
20  // add
21  virtual void BeginAddingInstances(std::uint32_t a_numFloatsPerInstance) = 0; // 38
22  virtual void AddInstances(std::uint32_t a_numInstances, std::uint16_t& a_instanceData) = 0; // 39
23  virtual void DoneAddingInstances(BSTArray<std::uint32_t>& a_instances) = 0; // 3A
24  virtual bool GetIsAddingInstances() = 0; // 3B
25  virtual std::uint32_t AddGroup(std::uint32_t a_numInstances, std::uint16_t& a_instanceData, std::uint32_t a_arg3, float a_arg4) = 0; // 3C
26  virtual void RemoveGroup(std::uint32_t a_numInstance) = 0; // 3D
27  };
28  static_assert(sizeof(BSInstanceTriShape) == 0x160);
29 }
Definition: BSInstanceTriShape.h:9
static constexpr auto VTABLE
Definition: BSInstanceTriShape.h:13
virtual void RemoveGroup(std::uint32_t a_numInstance)=0
~BSInstanceTriShape() override
static constexpr auto RTTI
Definition: BSInstanceTriShape.h:11
const NiRTTI * GetRTTI() const override
virtual void BeginAddingInstances(std::uint32_t a_numFloatsPerInstance)=0
virtual bool GetIsAddingInstances()=0
virtual void AddInstances(std::uint32_t a_numInstances, std::uint16_t &a_instanceData)=0
static constexpr auto Ni_RTTI
Definition: BSInstanceTriShape.h:12
virtual void DoneAddingInstances(BSTArray< std::uint32_t > &a_instances)=0
virtual std::uint32_t AddGroup(std::uint32_t a_numInstances, std::uint16_t &a_instanceData, std::uint32_t a_arg3, float a_arg4)=0
Definition: BSTriShape.h:8
Definition: NiRTTI.h:6
Definition: AbsorbEffect.h:6
constexpr REL::ID RTTI_BSInstanceTriShape(static_cast< std::uint64_t >(690704))
constexpr std::array< REL::ID, 1 > VTABLE_BSInstanceTriShape
Definition: Offsets_VTABLE.h:9188
constexpr REL::ID NiRTTI_BSInstanceTriShape(static_cast< std::uint64_t >(524722))