CommonLibSSE (Parapets fork)
RE::GFxResourceWeakLib Class Reference

#include <GFxResourceWeakLib.h>

Inheritance diagram for RE::GFxResourceWeakLib:
RE::GFxResourceLibBase RE::GRefCountBase< GFxResourceLibBase, GStatGroups::kGStat_Default_Mem > RE::GRefCountBaseStatImpl< GRefCountImpl, STAT > RE::GRefCountImpl RE::GRefCountImplCore

Classes

struct  ResourceNode
 

Public Types

using ResourceSlot = GFxResourceLib::ResourceSlot
 
- Public Types inherited from RE::GRefCountBase< GFxResourceLibBase, GStatGroups::kGStat_Default_Mem >
enum  
 

Public Member Functions

void RemoveResourceOnRelease (GFxResource *a_res) override
 
void PinResource (GFxResource *a_res) override
 
void UnpinResource (GFxResource *a_res) override
 
- Public Member Functions inherited from RE::GRefCountBaseStatImpl< GRefCountImpl, STAT >
 GFC_MEMORY_REDEFINE_NEW_IMPL (GRefCountImpl, GFC_REFCOUNTALLOC_CHECK_DELETE, StatType)
 
- Public Member Functions inherited from RE::GRefCountImpl
 ~GRefCountImpl () override=default
 
void AddRef ()
 
void Release ()
 

Public Attributes

GFxResourceLibstrongLib
 
GLock resourceLock
 
GHashSet< ResourceNode, ResourceNode::HashOpresources
 
GPtr< GMemoryHeapimageHeap
 

Additional Inherited Members

- Static Public Attributes inherited from RE::GRefCountImpl
static constexpr auto RTTI = RTTI_GRefCountImpl
 

Member Typedef Documentation

◆ ResourceSlot

Member Function Documentation

◆ PinResource()

void RE::GFxResourceWeakLib::PinResource ( GFxResource a_res)
overridevirtual

◆ RemoveResourceOnRelease()

void RE::GFxResourceWeakLib::RemoveResourceOnRelease ( GFxResource a_res)
overridevirtual

◆ UnpinResource()

void RE::GFxResourceWeakLib::UnpinResource ( GFxResource a_res)
overridevirtual

Member Data Documentation

◆ imageHeap

GPtr<GMemoryHeap> RE::GFxResourceWeakLib::imageHeap

◆ resourceLock

GLock RE::GFxResourceWeakLib::resourceLock

◆ resources

GHashSet<ResourceNode, ResourceNode::HashOp> RE::GFxResourceWeakLib::resources

◆ strongLib

GFxResourceLib* RE::GFxResourceWeakLib::strongLib

The documentation for this class was generated from the following file: