Skip to content

LiteFX::Rendering::IBufferLayout::elementSize

Returns the size of a single element within the buffer.

Synopsis

Declared in <litefx/rendering_api.hpp>

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

Return Value

The size of a single element within the buffer.