Describes a index buffer layout.
More...
#include <rendering_api.hpp>
Inherits LiteFX::Rendering::IBufferLayout, and LiteFX::SharedObject.
Inherited by LiteFX::Rendering::Backends::DirectX12IndexBufferLayout, and LiteFX::Rendering::Backends::VulkanIndexBufferLayout.
|
| | ~IIndexBufferLayout () noexcept override=default |
| |
| virtual IndexType | indexType () const noexcept=0 |
| | Returns the index type of the index buffer.
|
| |
| virtual | ~IBufferLayout () noexcept=default |
| |
| virtual size_t | elementSize () const noexcept=0 |
| | Returns the size of a single element within the buffer.
|
| |
| virtual UInt32 | binding () const noexcept=0 |
| | Returns the binding point, the buffer will be bound to.
|
| |
| virtual BufferType | type () const noexcept=0 |
| | Returns the buffer type of the buffer.
|
| |
| virtual | ~SharedObject () noexcept=default |
| | Destroys the shared object.
|
| |
| template<typename TSelf > |
| auto | shared_from_this (this TSelf &&self) noexcept |
| | Returns a shared pointer to the current object instance.
|
| |
| template<typename TSelf > |
| auto | weak_from_this (this TSelf &&self) noexcept -> WeakPtr< std::remove_reference_t< TSelf > > |
| | Returns a weak pointer to the current object instance.
|
| |
|
| template<typename T , typename... TArgs> |
| static auto | create (TArgs &&... args) -> SharedPtr< T > |
| | Generic factory method used to create instances of the shared object.
|
| |
Describes a index buffer layout.
- See also
- IIndexBuffer
◆ IIndexBufferLayout() [1/3]
| LiteFX::Rendering::IIndexBufferLayout::IIndexBufferLayout |
( |
| ) |
|
|
protecteddefaultnoexcept |
◆ IIndexBufferLayout() [2/3]
◆ IIndexBufferLayout() [3/3]
◆ ~IIndexBufferLayout()
| LiteFX::Rendering::IIndexBufferLayout::~IIndexBufferLayout |
( |
| ) |
|
|
overridedefaultnoexcept |
◆ indexType()
| virtual IndexType LiteFX::Rendering::IIndexBufferLayout::indexType |
( |
| ) |
const |
|
pure virtualnoexcept |
◆ operator=() [1/2]
◆ operator=() [2/2]