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

◆ at()

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

Borrow an element by index.

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

Definition at line 107 of file Composite.cpp.

108{
109 if (index >= size())
110 return std::nullopt;
111
113}
uint32_t index
Definition VKDevice.cpp:122
size_t size() const noexcept
Number of packed elements.

References index, and size.