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

◆ operator[]()

template<typename T >
T MayaFlux::Kakshya::StructuredView< T >::operator[] ( size_t  idx) const
inline

Definition at line 188 of file DataAccess.hpp.

189 {
190 const component_type* base = m_data + (idx * m_stride);
191 return construct_glm_type<T>(base);
192 }
glm_component_type< T > component_type
const component_type * m_data

References MayaFlux::Kakshya::StructuredView< T >::m_data, and MayaFlux::Kakshya::StructuredView< T >::m_stride.