Skip to content

LiteFX::Rendering::Backends::DirectX12VertexBufferLayout

Implements a DirectX 12 vertex buffer layout.

Synopsis

Declared in <litefx/backends/dx12.hpp>

class [[dllimport, dllexport]] DirectX12VertexBufferLayout final
    : public IVertexBufferLayout

Base Classes

NameDescription
IVertexBufferLayoutDescribes a vertex buffer layout.

Type Aliases

Member Functions

NameDescription
~DirectX12VertexBufferLayout [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.

Static Member Functions

NameDescription
create create overloads

Protected Types

NameDescription
Allocator An allocator used to allocate the shared object.

Protected Member Functions

NameDescription
operator= Assignment operators

Protected Static Member Functions

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

Friends

NameDescription
LiteFX::SharedObject::AllocatorAn allocator used to allocate the shared object.
LiteFX::Rendering::Backends::DirectX12VertexBufferLayoutBuilderBuilds a see DirectX12VertexBufferLayout.
LiteFX::Rendering::Backends::DirectX12VertexBufferLayout::DirectX12VertexBufferLayoutImpl
LiteFX::PimplPtrA smart pointer that manages an implementation instance for a public interface class.

See Also

DirectX12VertexBuffer

DirectX12IndexBuffer

DirectX12VertexBufferLayoutBuilder