LiteFX  0.1.1.2021
Computer Graphics Engine
LiteFX::Rendering::IDescriptor< TDescriptorLayout > Class Template Referenceabstract

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...
 
- Public Member Functions inherited from LiteFX::Rendering::IBindable
virtual ~IBindable () noexcept=default
 
virtual const UInt32binding () const noexcept=0
 Gets the binding point, this object will be bound to. More...
 

Detailed Description

template<typename TDescriptorLayout>
class LiteFX::Rendering::IDescriptor< TDescriptorLayout >

Describes a descriptor.

Template Parameters
TDescriptorLayoutThe type of the descriptor layout. Must inherit from IDescriptorLayout.

Member Typedef Documentation

◆ descriptor_layout_type

template<typename TDescriptorLayout >
using LiteFX::Rendering::IDescriptor< TDescriptorLayout >::descriptor_layout_type = TDescriptorLayout

Constructor & Destructor Documentation

◆ ~IDescriptor()

template<typename TDescriptorLayout >
virtual LiteFX::Rendering::IDescriptor< TDescriptorLayout >::~IDescriptor ( )
virtualdefaultnoexcept

Member Function Documentation

◆ layout()

template<typename TDescriptorLayout >
virtual const TDescriptorLayout& LiteFX::Rendering::IDescriptor< TDescriptorLayout >::layout ( ) const
pure virtualnoexcept