LiteFX 0.3.1.2022
Computer Graphics Engine
|
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 UInt32 & | binding () 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... | |
Describes a index buffer layout.
|
virtualdefaultnoexcept |
|
pure virtualnoexcept |
Returns the index type of the index buffer.
Implemented in LiteFX::Rendering::Backends::DirectX12IndexBufferLayout, and LiteFX::Rendering::Backends::VulkanIndexBufferLayout.