Implements the IResource interface.
More...
#include <containers.hpp>
Inherits LiteFX::IResource< THandle >.
Inherited by LiteFX::Rendering::Backends::DirectX12Backend, LiteFX::Rendering::Backends::DirectX12Buffer, LiteFX::Rendering::Backends::DirectX12CommandBuffer, LiteFX::Rendering::Backends::DirectX12Device, LiteFX::Rendering::Backends::DirectX12GraphicsAdapter, LiteFX::Rendering::Backends::DirectX12Image, LiteFX::Rendering::Backends::DirectX12PipelineLayout, LiteFX::Rendering::Backends::DirectX12PipelineState, LiteFX::Rendering::Backends::DirectX12Queue, LiteFX::Rendering::Backends::DirectX12ShaderModule, and LiteFX::Rendering::Backends::DirectX12SwapChain.
|
| Resource (const THandle handle) noexcept |
| Initializes the managed resource. More...
|
|
THandle & | handle () noexcept override |
| Returns the resource managed by the class. More...
|
|
virtual THandle & | handle () noexcept=0 |
| Returns the resource managed by the class. More...
|
|
template<class THandle>
class LiteFX::Resource< THandle >
Implements the IResource interface.
- Template Parameters
-
THandle | The type of the resource. |
◆ Resource() [1/3]
template<class THandle >
|
inlineexplicitprotectednoexcept |
Initializes the managed resource.
- Parameters
-
handle | The managed resource handle. |
◆ Resource() [2/3]
◆ Resource() [3/3]
◆ ~Resource()
◆ handle() [1/2]
template<class THandle >
|
inlineoverridevirtualnoexcept |
◆ handle() [2/2]
template<class THandle >
|
inlineoverrideprotectedvirtualnoexcept |