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

◆ is_compatible_with()

virtual bool MayaFlux::Buffers::BufferProcessor::is_compatible_with ( std::shared_ptr< Buffer ) const
inlinevirtual

Checks if this processor can handle the specified buffer type.

Parameters
bufferBuffer to check compatibility with
Returns
True if the processor can process this buffer type, false otherwise

This method enables dynamic processor validation and selection based on buffer characteristics. Processors can examine the buffer's data type, format, size, and other properties to determine compatibility, enabling robust error handling and automatic processor selection in complex processing pipelines.

Reimplemented in MayaFlux::Buffers::InputAccessProcessor, MayaFlux::Buffers::QuickProcess, MayaFlux::Buffers::ChannelProcessor, MayaFlux::Buffers::FinalLimiterProcessor, MayaFlux::Buffers::GraphicsBatchProcessor, MayaFlux::Buffers::PresentProcessor, MayaFlux::Buffers::ShaderProcessor, MayaFlux::Buffers::BufferDownloadProcessor, and MayaFlux::Buffers::BufferUploadProcessor.

Definition at line 180 of file BufferProcessor.hpp.

180{ return true; }