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

◆ has_data_for_cycle()

bool MayaFlux::Buffers::VKBuffer::has_data_for_cycle ( ) const
inlineoverridevirtual

Checks if the buffer has data for the current processing cycle.

Returns
True if the buffer has data available for processing, false otherwise

This method is particularly relevant for dynamic buffer management systems like SignalSourceContainers, where buffers may not always contain valid data. The interpretation and behavior may vary based on the buffer type:

  • Audio buffers typically return true unless specifically marked otherwise
  • Video buffers may return false if no frame is available
  • Texture buffers may return false if textures are not loaded

Implements MayaFlux::Buffers::Buffer.

Definition at line 180 of file VKBuffer.hpp.

180{ return m_has_data; }