Skip to content

LiteFX::Rendering::IVertexBufferLayout

Describes a vertex buffer layout.

Synopsis

Declared in <litefx/rendering_api.hpp>

class [[dllimport, dllexport]] IVertexBufferLayout
    : public IBufferLayout
    , public SharedObject

Base Classes

NameDescription
IBufferLayoutDescribes a buffer layout.
SharedObjectBase class for an object that can be shared.

Type Aliases

Name
_Esft_type

Member Functions

NameDescription
~IVertexBufferLayout [destructor] [virtual]Destructor
attributes [virtual]Returns the vertex buffer attributes.
binding [virtual]Returns the binding point, the buffer will be bound to.
elementSize [virtual]Returns the size of a single element within the buffer.
inputRate [virtual]Returns the vertex buffer input rate that describes how the data is made available to the vertex shader.
shared_from_this Returns a shared pointer to the current object instance.
type [virtual]Returns the buffer type of the buffer.
weak_from_this Returns a weak pointer to the current object instance.

Protected Types

NameDescription
Allocator An allocator used to allocate the shared object.

Protected Member Functions

NameDescription
IVertexBufferLayout [constructor]Constructors
operator= Assignment operators

Protected Static Member Functions

NameDescription
create Generic factory method used to create instances of the shared object.

Derived Classes

NameDescription
DirectX12VertexBufferLayout Implements a DirectX 12 vertex buffer layout.
VulkanVertexBufferLayout Implements a Vulkan vertex buffer layout.

See Also

IVertexBuffer