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

◆ is_host_visible()

bool MayaFlux::Buffers::VKBuffer::is_host_visible ( ) const
inline

Whether this VKBuffer should be host-visible.

Returns
True for staging or uniform buffers, false for device-local types.

Definition at line 371 of file VKBuffer.hpp.

372 {
373 return m_usage == Usage::STAGING
374 || m_usage == Usage::UNIFORM
375 || m_usage == Usage::UNIFORM_BDA
376 || m_usage == Usage::STORAGE_BDA
377 || m_usage == Usage::HOST_STORAGE;
378 }

Referenced by clear(), clone_to(), get_data(), get_memory_properties(), mark_dirty_range(), mark_invalid_range(), resize(), and set_data().

+ Here is the caller graph for this function: