|
MayaFlux 0.1.0
Digital-First Multimedia Processing Framework
|
|
overridevirtual |
Clear buffer contents.
If the buffer is host-visible and mapped the memory is zeroed. For device-local buffers the backend must provide a ClearBufferProcessor that performs the appropriate GPU-side clear.
Implements MayaFlux::Buffers::Buffer.
Definition at line 37 of file VKBuffer.cpp.
References MayaFlux::Journal::BufferManagement, MayaFlux::Journal::Buffers, is_host_visible(), is_initialized(), m_resources, m_size_bytes, MayaFlux::Buffers::VKBufferResources::mapped_ptr, and MF_WARN.
Referenced by set_data(), and ~VKBuffer().
Here is the call graph for this function:
Here is the caller graph for this function: