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

◆ element_bytes()

std::span< const uint8_t > MayaFlux::Kakshya::CompositeSlice::element_bytes ( ) const
noexcept

Borrow the selected contiguous packed bytes.

Definition at line 105 of file CompositeAccess.cpp.

106{
107 const auto bytes = m_access.element_bytes();
108 return bytes.subspan(m_start * layout().stride_bytes(), m_count * layout().stride_bytes());
109}
std::span< const uint8_t > element_bytes() const noexcept
Borrow all packed element bytes without conversion.
const CompositeLayout & layout() const noexcept
Shared layout of all selected elements.

References MayaFlux::Kakshya::CompositeAccess::element_bytes(), layout(), m_access, m_count, and m_start.

+ Here is the call graph for this function: