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

◆ image_context()

TextureExecutionContext & MayaFlux::Yantra::VisionExtractor::image_context ( )
private

The two contexts every method shares, one shader swapped in per call.

All extractor shaders use one binding layout: 0 output image, 1 source image, 2 second image, 3 to 5 input buffers, 6 output buffer. m_image_ctx serves the image-producing methods, m_reduce_ctx the ones that read back numbers.

Definition at line 210 of file VisionExtractor.cpp.

211{
212 if (!m_image_ctx)
213 m_image_ctx = make_image_context();
214 return *m_image_ctx;
215}
std::shared_ptr< TextureExecutionContext > m_image_ctx

References m_image_ctx.

Referenced by annotate(), crop(), crops(), edges(), fill_elements(), motion_mask(), patches(), and tone().

+ Here is the caller graph for this function: