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

◆ resolve_pixels()

std::optional< Kakshya::ImageData > MayaFlux::Buffers::DataReadProcessor::resolve_pixels ( )

Finish a pixel read as typed ImageData with its format and dimensions.

Returns nullopt, leaving the result pending, when the pending read was not a pixel read.

Definition at line 368 of file DataReadProcessor.cpp.

369{
370 auto pending = collect_result(ReadKind::Pixels);
371 if (!pending) {
372 return std::nullopt;
373 }
374
375 return std::move(pending->image);
376}
std::unique_ptr< PendingRead > collect_result(ReadKind kind)

References collect_result(), and Pixels.

Referenced by MayaFlux::Kriya::detail::resolve_graphics_read().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: