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

◆ is_compatible_with()

bool MayaFlux::Buffers::GraphicsBatchProcessor::is_compatible_with ( const std::shared_ptr< Buffer > &  buffer) const
overridevirtual

Checks compatibility with a specific buffer type.

Parameters
bufferBuffer to check compatibility with
Returns
True if compatible (buffer is RootGraphicsBuffer), false otherwise

Reimplemented from MayaFlux::Buffers::BufferProcessor.

Definition at line 99 of file RootGraphicsBuffer.cpp.

100{
101 return std::dynamic_pointer_cast<RootGraphicsBuffer>(buffer) != nullptr;
102}