MayaFlux 0.5.0
Digital-First Multimedia Processing Framework
Loading...
Searching...
No Matches
MayaFlux::Yantra::extraction_traits< T > Struct Template Reference

Native-type aware extraction traits. More...

#include <DataSpec.hpp>

+ Collaboration diagram for MayaFlux::Yantra::extraction_traits< T >:

Public Types

using algorithm_result_type = typename extraction_traits_d< T >::result_type
 
using native_element_type = typename detail::native_element< T >::type
 
using native_result_type = std::conditional_t< std::is_same_v< native_element_type, void >, algorithm_result_type, std::conditional_t< extraction_traits_d< T >::is_multi_variant, std::vector< std::span< native_element_type > >, std::span< native_element_type > > >
 

Static Public Attributes

static constexpr bool is_multi_variant = extraction_traits_d<T>::is_multi_variant
 
static constexpr bool is_region_like = extraction_traits_d<T>::is_region_like
 
static constexpr bool requires_container = extraction_traits_d<T>::requires_container
 

Detailed Description

template<typename T>
struct MayaFlux::Yantra::extraction_traits< T >

Native-type aware extraction traits.

extraction_traits_d and its aliases are unchanged; this struct is purely additive. Callers that need native access (GPU staging, container roundtrips) use extraction_traits<T> or the native_result_t / native_element_t convenience aliases.

Definition at line 267 of file DataSpec.hpp.


The documentation for this struct was generated from the following file: