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

◆ at()

std::optional< Composite > MayaFlux::Kakshya::CompositeSlice::at ( size_t  index) const
noexcept

Borrow a selected element by slice-relative index.

Parameters
indexZero-based index within the slice.
Returns
Element view, or std::nullopt if out of range.

Definition at line 98 of file CompositeAccess.cpp.

99{
100 if (index >= m_count)
101 return std::nullopt;
102 return m_access.at(m_start + index);
103}
uint32_t index
Definition VKDevice.cpp:122
std::optional< Composite > at(size_t index) const noexcept
Borrow an element by index.

References index.