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

◆ StructuredView()

template<typename T >
MayaFlux::Kakshya::StructuredView< T >::StructuredView ( const void *  data,
size_t  element_count,
size_t  stride_bytes = 0 
)
inline

Definition at line 181 of file DataAccess.hpp.

182 : m_data(static_cast<const component_type*>(data))
183 , m_element_count(element_count)
184 , m_stride(stride_bytes == 0 ? components : stride_bytes / sizeof(component_type))
185 {
186 }
static constexpr size_t components
glm_component_type< T > component_type
const component_type * m_data