LiteFX 0.3.1.2022
Computer Graphics Engine
|
Describes a vertex buffer layout. More...
#include <rendering_api.hpp>
Inherits LiteFX::Rendering::IBufferLayout.
Inherited by LiteFX::Rendering::Backends::DirectX12VertexBufferLayout, and LiteFX::Rendering::Backends::VulkanVertexBufferLayout.
Public Member Functions | |
virtual | ~IVertexBufferLayout () noexcept=default |
virtual Array< const BufferAttribute * > | attributes () const noexcept=0 |
Returns the vertex buffer attributes. 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 vertex buffer layout.
|
virtualdefaultnoexcept |
|
pure virtualnoexcept |
Returns the vertex buffer attributes.
Implemented in LiteFX::Rendering::Backends::DirectX12VertexBufferLayout, and LiteFX::Rendering::Backends::VulkanVertexBufferLayout.