Base class for a resource that can be identified by a name string within a DeviceState.
More...
#include <rendering_api.hpp>
Inherits LiteFX::Rendering::IStateResource.
Inherited by LiteFX::Rendering::FrameBuffer< IDirectX12Image > [virtual], LiteFX::Rendering::FrameBuffer< IVulkanImage > [virtual], LiteFX::Rendering::Pipeline< DirectX12PipelineLayout, DirectX12ShaderProgram > [virtual], LiteFX::Rendering::Pipeline< VulkanPipelineLayout, VulkanShaderProgram > [virtual], LiteFX::Rendering::RenderPass< DirectX12Queue, DirectX12FrameBuffer > [virtual], LiteFX::Rendering::RenderPass< VulkanQueue, VulkanFrameBuffer > [virtual], LiteFX::Rendering::Backends::DirectX12BottomLevelAccelerationStructure [virtual], LiteFX::Rendering::Backends::DirectX12Buffer [virtual], LiteFX::Rendering::Backends::DirectX12Image [virtual], LiteFX::Rendering::Backends::DirectX12Sampler [virtual], LiteFX::Rendering::Backends::DirectX12TopLevelAccelerationStructure [virtual], LiteFX::Rendering::Backends::VulkanBottomLevelAccelerationStructure [virtual], LiteFX::Rendering::Backends::VulkanBuffer [virtual], LiteFX::Rendering::Backends::VulkanImage [virtual], LiteFX::Rendering::Backends::VulkanSampler [virtual], LiteFX::Rendering::Backends::VulkanTopLevelAccelerationStructure [virtual], LiteFX::Rendering::FrameBuffer< TImage > [virtual], LiteFX::Rendering::Pipeline< TPipelineLayout, TShaderProgram > [virtual], and LiteFX::Rendering::RenderPass< TCommandQueue, TFrameBuffer > [virtual].
|
| | ~StateResource () noexcept override |
| | Releases the state resource instance.
|
| |
| const String & | name () const noexcept override |
| | Returns the name of the resource.- Returns
- The name of the resource.
|
| |
| virtual | ~IStateResource () noexcept=default |
| | Releases the state resource instance.
|
| |
Base class for a resource that can be identified by a name string within a DeviceState.
◆ StateResource() [1/4]
| StateResource::StateResource |
( |
| ) |
|
|
protected |
Initializes a new state resource instance with a default name.
◆ StateResource() [2/4]
Initializes a new state resource instance.
- Parameters
-
| name | The name of the resource. |
◆ StateResource() [3/4]
◆ StateResource() [4/4]
| LiteFX::Rendering::StateResource::StateResource |
( |
const StateResource & | | ) |
|
|
protecteddelete |
◆ ~StateResource()
| StateResource::~StateResource |
( |
| ) |
|
|
overridedefaultnoexcept |
Releases the state resource instance.
◆ name() [1/2]
| const String & StateResource::name |
( |
| ) |
const |
|
overridevirtualnoexcept |
◆ name() [2/2]
| String & StateResource::name |
( |
| ) |
|
|
protectednoexcept |
◆ operator=() [1/2]
◆ operator=() [2/2]