LiteFX 0.3.1.2022
Computer Graphics Engine
LiteFX::Rendering::IIndexBufferLayout Class Referenceabstract

Describes a index buffer layout. More...

#include <rendering_api.hpp>

Inherits LiteFX::Rendering::IBufferLayout.

Inherited by LiteFX::Rendering::Backends::DirectX12IndexBufferLayout, and LiteFX::Rendering::Backends::VulkanIndexBufferLayout.

Public Member Functions

virtual ~IIndexBufferLayout () noexcept=default
 
virtual const IndexType & indexType () const noexcept=0
 Returns the index type of the index buffer. More...
 
- Public Member Functions inherited from LiteFX::Rendering::IBufferLayout
virtual ~IBufferLayout () noexcept=default
 
virtual size_t elementSize () const noexcept=0
 Returns the size of a single element within the buffer. More...
 
virtual const UInt32binding () const noexcept=0
 Returns the binding point, the buffer will be bound to. More...
 
virtual const BufferType & type () const noexcept=0
 Returns the buffer type of the buffer. More...
 

Detailed Description

Describes a index buffer layout.

See also
IIndexBuffer

Constructor & Destructor Documentation

◆ ~IIndexBufferLayout()

virtual LiteFX::Rendering::IIndexBufferLayout::~IIndexBufferLayout ( )
virtualdefaultnoexcept

Member Function Documentation

◆ indexType()

virtual const IndexType & LiteFX::Rendering::IIndexBufferLayout::indexType ( ) const
pure virtualnoexcept

Returns the index type of the index buffer.

Returns
The index type of the index buffer.

Implemented in LiteFX::Rendering::Backends::DirectX12IndexBufferLayout, and LiteFX::Rendering::Backends::VulkanIndexBufferLayout.