LiteFX 0.3.1.2022
Computer Graphics Engine
LiteFX::IResource< THandle > Class Template Referenceabstract

Provides access to a resource managed by the class. More...

#include <containers.hpp>

Inherited by LiteFX::Resource< THandle > [virtual].

Public Member Functions

virtual ~IResource () noexcept=default
 
virtual const THandle & handle () const noexcept=0
 Returns the resource managed by the class. More...
 

Protected Member Functions

virtual THandle & handle () noexcept=0
 Returns the resource managed by the class. More...
 

Detailed Description

template<class THandle>
class LiteFX::IResource< THandle >

Provides access to a resource managed by the class.

See also
Resource
Template Parameters
THandleThe type of the resource.

Constructor & Destructor Documentation

◆ ~IResource()

template<class THandle >
virtual LiteFX::IResource< THandle >::~IResource ( )
virtualdefaultnoexcept

Member Function Documentation

◆ handle() [1/2]

◆ handle() [2/2]