49 [[nodiscard]]
static bool can_decode(
const VertexLayout& layout)
noexcept;
61 bool insert_interleaved(
62 std::span<const uint8_t> vertex_bytes,
78 [[nodiscard]] uint32_t
vertex_count() const noexcept {
return m_layout.vertex_count; }
uint32_t vertex_count() const noexcept
Number of vertices decoded by the last successful insertion.
std::vector< DataVariant > & m_channels
const VertexLayout & layout() const noexcept
Layout of the last successful insertion, with vertex_count set to the decoded count.
Write counterpart to VertexAccess: splits interleaved vertex bytes into typed channels.
Complete description of vertex data layout in a buffer.