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

◆ try_acquire_processing()

virtual bool MayaFlux::Buffers::Buffer::try_acquire_processing ( )
pure virtual

Attempts to acquire processing rights for the buffer.

Returns
True if processing rights were successfully acquired, false otherwise

This method is used to control access to the buffer's data during processing. It allows the buffer to manage concurrent access and ensure that only one processing operation occurs at a time. The specific implementation may vary based on the buffer type and its processing backend.

Implemented in MayaFlux::Buffers::AudioBuffer, and MayaFlux::Buffers::VKBuffer.