|
MayaFlux 0.1.0
Digital-First Multimedia Processing Framework
|
Span-like view that interprets flat data as structured types (glm::vec3, etc.) More...
#include <DataAccess.hpp>
Collaboration diagram for MayaFlux::Kakshya::StructuredView< T >:Classes | |
| class | iterator |
Public Types | |
| using | value_type = T |
| using | component_type = glm_component_type< T > |
Public Member Functions | |
| StructuredView (const void *data, size_t element_count, size_t stride_bytes=0) | |
| T | operator[] (size_t idx) const |
| iterator | begin () const |
| iterator | end () const |
| size_t | size () const |
| const void * | data () const |
| size_t | size_bytes () const |
| std::vector< T > | to_vector () const |
Static Public Attributes | |
| static constexpr size_t | components = glm_component_count<T>() |
Static Private Member Functions | |
| template<typename GlmType > | |
| static GlmType | construct_glm_type (const component_type *components) |
Private Attributes | |
| const component_type * | m_data |
| size_t | m_element_count |
| size_t | m_stride |
Span-like view that interprets flat data as structured types (glm::vec3, etc.)
Definition at line 175 of file DataAccess.hpp.