Skip to content

LiteFX::Rendering::Backends::DirectX12IndexBufferLayout::elementSize

Returns the size of a single element within the buffer.

Synopsis

Declared in <litefx/backends/dx12.hpp>

[[dllimport, dllexport]] virtual size_t elementSize() const noexcept override;

Return Value

The size of a single element within the buffer.