LiteFX 0.3.1.2022
Computer Graphics Engine
|
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... | |
Provides access to a resource managed by the class.
THandle | The type of the resource. |
|
virtualdefaultnoexcept |
|
pure virtualnoexcept |
Returns the resource managed by the class.
Implemented in LiteFX::Resource< THandle >, LiteFX::Resource< HWND >, LiteFX::Resource< VkInstance >, LiteFX::Resource< VkBuffer >, LiteFX::Resource< VkCommandBuffer >, LiteFX::Resource< VkDescriptorSet >, LiteFX::Resource< VkDescriptorSetLayout >, LiteFX::Resource< VkDevice >, LiteFX::Resource< VkFramebuffer >, LiteFX::Resource< VkPhysicalDevice >, LiteFX::Resource< VkImage >, LiteFX::Resource< VkPipelineLayout >, LiteFX::Resource< VkPipeline >, LiteFX::Resource< VkQueue >, LiteFX::Resource< VkRenderPass >, LiteFX::Resource< VkSampler >, LiteFX::Resource< VkShaderModule >, and LiteFX::Resource< VkSurfaceKHR >.
|
protectedpure virtualnoexcept |
Returns the resource managed by the class.
Implemented in LiteFX::Resource< THandle >, LiteFX::Resource< HWND >, LiteFX::Resource< VkInstance >, LiteFX::Resource< VkBuffer >, LiteFX::Resource< VkCommandBuffer >, LiteFX::Resource< VkDescriptorSet >, LiteFX::Resource< VkDescriptorSetLayout >, LiteFX::Resource< VkDevice >, LiteFX::Resource< VkFramebuffer >, LiteFX::Resource< VkPhysicalDevice >, LiteFX::Resource< VkImage >, LiteFX::Resource< VkPipelineLayout >, LiteFX::Resource< VkPipeline >, LiteFX::Resource< VkQueue >, LiteFX::Resource< VkRenderPass >, LiteFX::Resource< VkSampler >, LiteFX::Resource< VkShaderModule >, and LiteFX::Resource< VkSurfaceKHR >.