CommonLibVR
GFxResourceLibBase.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include "RE/G/GRefCountBase.h"
4 #include "RE/G/GStats.h"
5 
6 namespace RE
7 {
8  class GFxResource;
9 
10  class GFxResourceLibBase : public GRefCountBase<GFxResourceLibBase, GStatGroups::kGStat_Default_Mem>
11  {
12  public:
13  // add
14  virtual void RemoveResourceOnRelease(GFxResource* a_res) = 0; // 01
15  virtual void PinResource(GFxResource* a_res) = 0; // 02
16  virtual void UnpinResource(GFxResource* a_res) = 0; // 03
17  private:
18  KEEP_FOR_RE()
19  };
20  static_assert(sizeof(GFxResourceLibBase) == 0x10);
21 }
#define KEEP_FOR_RE()
Definition: PCH.h:713
Definition: GFxResourceLibBase.h:11
virtual void UnpinResource(GFxResource *a_res)=0
virtual void PinResource(GFxResource *a_res)=0
virtual void RemoveResourceOnRelease(GFxResource *a_res)=0
Definition: GFxResource.h:15
Definition: GRefCountBase.h:12
Definition: AbsorbEffect.h:6