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

◆ output_slot()

ImageSlot & MayaFlux::Yantra::TextureExecutionContext::output_slot ( )
inlineprivate

Find the declared output image slot.

Returns
Reference to the ImageSlot with Direction::OUTPUT.
Note
Only present when constructed with mode != SCALAR.

Definition at line 585 of file TextureExecutionContext.hpp.

586 {
587 for (auto& s : m_image_slots) {
588 if (s.binding.direction == GpuBufferBinding::Direction::OUTPUT)
589 return s;
590 }
591
592 error<std::runtime_error>(
595 std::source_location::current(),
596 "TextureExecutionContext: no output image slot declared (SCALAR mode?)");
597 }
@ BufferProcessing
Buffer processing (Buffers::BufferManager, processing chains)
@ Yantra
DSP algorithms, computational units, matrix operations, Grammar.