Skip to content

LiteFX::Rendering::IIndexBufferLayout

Describes a index buffer layout.

Synopsis

Declared in <litefx/rendering_api.hpp>

class [[dllimport, dllexport]] IIndexBufferLayout
    : 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
~IIndexBufferLayout [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.

Protected Types

NameDescription
Allocator An allocator used to allocate the shared object.

Protected Member Functions

NameDescription
IIndexBufferLayout [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
DirectX12IndexBufferLayout Implements a DirectX 12 index buffer layout.
VulkanIndexBufferLayout Implements a Vulkan index buffer layout.

See Also

IIndexBuffer