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

◆ mark_dirty_range()

void MayaFlux::Buffers::VKBuffer::mark_dirty_range ( size_t  offset,
size_t  size 
)

Get device memory handle.

Definition at line 429 of file VKBuffer.cpp.

430{
431 if (is_host_visible()) {
432 m_dirty_ranges.emplace_back(offset, size);
433 }
434}
uint64_t offset
Definition Composite.cpp:10
bool size
std::vector< std::pair< size_t, size_t > > m_dirty_ranges
Definition VKBuffer.hpp:686
bool is_host_visible() const
Whether this VKBuffer should be host-visible.
Definition VKBuffer.hpp:373

References is_host_visible(), m_dirty_ranges, offset, and size.

Referenced by resize(), and set_data().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: