![]() |
LiteFX
0.1.1.2021
Computer Graphics Engine
|
Describes a descriptor. More...
#include <rendering.hpp>
Inherits LiteFX::Rendering::IBindable.
Inherited by LiteFX::Rendering::IConstantBuffer< IVulkanBuffer, VulkanCommandBuffer, VulkanDescriptorLayout > [virtual]
, LiteFX::Rendering::IConstantBuffer< IDirectX12Buffer, DirectX12CommandBuffer, DirectX12DescriptorLayout > [virtual]
, LiteFX::Rendering::ISampler< VulkanDescriptorLayout > [virtual]
, LiteFX::Rendering::ISampler< DirectX12DescriptorLayout > [virtual]
, LiteFX::Rendering::ITexture< VulkanDescriptorLayout, IVulkanBuffer, VulkanCommandBuffer > [virtual]
, LiteFX::Rendering::ITexture< DirectX12DescriptorLayout, IDirectX12Buffer, DirectX12CommandBuffer > [virtual]
, LiteFX::Rendering::IConstantBuffer< TBufferInterface, TCommandBuffer, TDescriptorLayout > [virtual]
, LiteFX::Rendering::ISampler< TDescriptorLayout > [virtual]
, and LiteFX::Rendering::ITexture< TDescriptorLayout, TBufferInterface, TCommandBuffer > [virtual]
.
Public Types | |
using | descriptor_layout_type = TDescriptorLayout |
Public Member Functions | |
virtual | ~IDescriptor () noexcept=default |
virtual const TDescriptorLayout & | layout () const noexcept=0 |
Gets the layout of the descriptor. More... | |
![]() | |
virtual | ~IBindable () noexcept=default |
virtual const UInt32 & | binding () const noexcept=0 |
Gets the binding point, this object will be bound to. More... | |
Describes a descriptor.
TDescriptorLayout | The type of the descriptor layout. Must inherit from IDescriptorLayout. |
using LiteFX::Rendering::IDescriptor< TDescriptorLayout >::descriptor_layout_type = TDescriptorLayout |
|
virtualdefaultnoexcept |
|
pure virtualnoexcept |
Gets the layout of the descriptor.
Implemented in LiteFX::Rendering::Backends::VulkanSampler, LiteFX::Rendering::Backends::VulkanTexture, LiteFX::Rendering::Backends::VulkanConstantBuffer, LiteFX::Rendering::Backends::DirectX12Sampler, LiteFX::Rendering::Backends::DirectX12Texture, and LiteFX::Rendering::Backends::DirectX12ConstantBuffer.