|
MayaFlux 0.5.0
Digital-First Multimedia Processing Framework
|
|
inlineprotectedvirtual |
Extract channel data and structure metadata from the input Datum.
Calls extract_structured_native first to obtain native-typed spans without any conversion, then resolves the native element type from the first span's active DataSpanVariant alternative (which is already determined by visiting the source variants – no separate original_type inspection needed).
Override to return ({}, {}) when channel extraction is not needed (e.g. image-only shaders that stage via on_before_gpu_dispatch).
Reimplemented in MayaFlux::Yantra::TextureExecutionContext.
Definition at line 113 of file GpuExecutionContext.hpp.
References MayaFlux::Yantra::OperationHelper::extract_native_data(), MayaFlux::Yantra::OperationHelper::extract_structured_double(), MayaFlux::Yantra::GpuDispatchCore::flatten_native_variants_to_staging(), MayaFlux::Yantra::OperationHelper::get_structure_info(), and input.
Referenced by MayaFlux::Yantra::ShaderExecutionContext< InputType, OutputType >::dispatch_async(), and MayaFlux::Yantra::GpuExecutionContext< InputType, OutputType >::execute().
Here is the call graph for this function:
Here is the caller graph for this function: