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

◆ mark_for_processing()

virtual void MayaFlux::Buffers::Buffer::mark_for_processing ( bool  has_data)
pure virtual

Marks the buffer's data availability for the current processing cycle.

Parameters
has_dataTrue if the buffer has valid data to process, false otherwise

This method allows external systems to control whether the buffer should be considered for processing in the current cycle. Behavior varies by buffer type:

  • Audio buffers are typically always marked as having data
  • Video buffers may be marked based on frame availability
  • Texture buffers may be marked based on resource loading state

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