|
MayaFlux 0.1.0
Digital-First Multimedia Processing Framework
|
| std::vector< Kakshya::DataVariant > MayaFlux::Buffers::VKBuffer::get_data | ( | ) |
Read buffer contents as Kakshya DataVariant.
For host-visible buffers this returns a single DataVariant containing the raw bytes. For device-local buffers this warns and returns empty — a BufferDownloadProcessor should be used to read GPU-only memory.
Definition at line 96 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, mark_invalid_range(), and MF_WARN.
Referenced by clone_to().
Here is the call graph for this function:
Here is the caller graph for this function: