Skip to content

LiteFX::Rendering::Backends::DirectX12IndexBufferLayout

Implements a DirectX 12 index buffer layout.

Synopsis

Declared in <litefx/backends/dx12.hpp>

class [[dllimport, dllexport]] DirectX12IndexBufferLayout final
    : public IIndexBufferLayout

Base Classes

NameDescription
IIndexBufferLayoutDescribes a index buffer layout.

Type Aliases

Name
_Esft_type

Member Functions

NameDescription
~DirectX12IndexBufferLayout [destructor] [virtual]Destructor
binding [virtual]Returns the binding point, the buffer will be bound to.
elementSize [virtual]Returns the size of a single element within the buffer.
indexType [virtual]Returns the index type of the index buffer.
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::DirectX12IndexBufferLayout::DirectX12IndexBufferLayoutImpl
LiteFX::PimplPtrA smart pointer that manages an implementation instance for a public interface class.

See Also

DirectX12IndexBuffer

DirectX12VertexBufferLayout