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

◆ mark_invalid_range()

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

Mark a range as invalid (needs download)

Definition at line 436 of file VKBuffer.cpp.

437{
438 if (is_host_visible()) {
439 m_invalid_ranges.emplace_back(offset, size);
440 }
441}
uint64_t offset
Definition Composite.cpp:10
bool size
std::vector< std::pair< size_t, size_t > > m_invalid_ranges
Definition VKBuffer.hpp:687
bool is_host_visible() const
Whether this VKBuffer should be host-visible.
Definition VKBuffer.hpp:373

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

Referenced by get_data().

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