|
MayaFlux 1.0.0
Digital-First Multimedia Processing Framework
|
|
overridevirtual |
Clear buffer contents.
Zeroes the contents in place. Mapped buffers are cleared on the host; unmapped (device-local) buffers are cleared on the GPU and the call blocks until the fill completes. Handles and addresses are unchanged. Requires the buffer to be registered and, when unmapped, to have been created with transfer destination usage.
Implements MayaFlux::Buffers::Buffer.
Definition at line 38 of file VKBuffer.cpp.
References MayaFlux::Journal::BufferManagement, MayaFlux::Journal::Buffers, MayaFlux::Buffers::clear_gpu_buffer(), is_initialized(), and MF_TRACE.
Referenced by set_data().
Here is the call graph for this function:
Here is the caller graph for this function: