MayaFlux 1.0.0
Digital-First Multimedia Processing Framework
Loading...
Searching...
No Matches

◆ can_decode()

bool MayaFlux::Kakshya::VertexInsertion::can_decode ( const VertexLayout &  layout)
staticnoexcept

Whether a layout can be split into typed channels.

Requires a nonzero stride, at least one attribute, a supported modality per attribute, and every attribute lying within one stride.

Definition at line 88 of file VertexInsertion.cpp.

89{
90 return layout_fault(layout) == nullptr;
91}
const VertexLayout & layout() const noexcept
Layout of the last successful insertion, with vertex_count set to the decoded count.