Describes a buffer layout.
More...
#include <rendering_api.hpp>
Inherited by LiteFX::Rendering::IDescriptorLayout, LiteFX::Rendering::IIndexBufferLayout, and LiteFX::Rendering::IVertexBufferLayout.
|
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.
|
|
◆ IBufferLayout() [1/3]
LiteFX::Rendering::IBufferLayout::IBufferLayout |
( |
| ) |
|
|
protecteddefaultnoexcept |
◆ IBufferLayout() [2/3]
LiteFX::Rendering::IBufferLayout::IBufferLayout |
( |
IBufferLayout && | | ) |
|
|
protecteddefaultnoexcept |
◆ IBufferLayout() [3/3]
LiteFX::Rendering::IBufferLayout::IBufferLayout |
( |
const IBufferLayout & | | ) |
|
|
protecteddefault |
◆ ~IBufferLayout()
virtual LiteFX::Rendering::IBufferLayout::~IBufferLayout |
( |
| ) |
|
|
virtualdefaultnoexcept |
◆ binding()
virtual UInt32 LiteFX::Rendering::IBufferLayout::binding |
( |
| ) |
const |
|
pure virtualnoexcept |
◆ elementSize()
virtual size_t LiteFX::Rendering::IBufferLayout::elementSize |
( |
| ) |
const |
|
pure virtualnoexcept |
◆ operator=() [1/2]
◆ operator=() [2/2]
◆ type()
virtual BufferType LiteFX::Rendering::IBufferLayout::type |
( |
| ) |
const |
|
pure virtualnoexcept |