Describes a vertex buffer layout.
More...
#include <rendering_api.hpp>
Inherits LiteFX::Rendering::IBufferLayout, and LiteFX::SharedObject.
Inherited by LiteFX::Rendering::Backends::DirectX12VertexBufferLayout, and LiteFX::Rendering::Backends::VulkanVertexBufferLayout.
|
| ~IVertexBufferLayout () noexcept override=default |
|
virtual const Array< BufferAttribute > & | attributes () const =0 |
| Returns the vertex buffer attributes.
|
|
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 vertex buffer layout.
- See also
- IVertexBuffer
◆ IVertexBufferLayout() [1/3]
LiteFX::Rendering::IVertexBufferLayout::IVertexBufferLayout |
( |
| ) |
|
|
protecteddefaultnoexcept |
◆ IVertexBufferLayout() [2/3]
◆ IVertexBufferLayout() [3/3]
◆ ~IVertexBufferLayout()
LiteFX::Rendering::IVertexBufferLayout::~IVertexBufferLayout |
( |
| ) |
|
|
overridedefaultnoexcept |
◆ attributes()
virtual const Array< BufferAttribute > & LiteFX::Rendering::IVertexBufferLayout::attributes |
( |
| ) |
const |
|
pure virtual |
◆ operator=() [1/2]
◆ operator=() [2/2]