|
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 37 of file VKBuffer.cpp.