MayaFlux 1.0.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 687 of file TextureExecutionContext.hpp.

688 {
689 for (auto& s : m_image_slots) {
690 if (s.binding.direction == GpuBufferBinding::Direction::OUTPUT)
691 return s;
692 }
693
694 error<std::runtime_error>(
697 std::source_location::current(),
698 "TextureExecutionContext: no output image slot declared (SCALAR mode?)");
699 }
@ BufferProcessing
Buffer processing (Buffers::BufferManager, processing chains)
@ Yantra
DSP algorithms, computational units, matrix operations, Grammar.