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

◆ clear()

virtual void MayaFlux::Buffers::Buffer::clear ( )
pure virtual

Resets all data values in the buffer.

Initializes all data elements to their default/zero state without changing the buffer capacity. The specific behavior depends on the concrete buffer implementation and data type.

Implemented in MayaFlux::Buffers::AudioBuffer, MayaFlux::Buffers::RootBuffer< AudioBuffer >, MayaFlux::Buffers::RootBuffer< VKBuffer >, and MayaFlux::Buffers::VKBuffer.