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

◆ is_device_local()

MAYAFLUX_API bool MayaFlux::Buffers::is_device_local ( const std::shared_ptr< VKBuffer > &  buffer)

Check if buffer is device-local (staging needed)

Parameters
bufferBuffer to check
Returns
True if buffer is device-local

Definition at line 374 of file StagingUtils.cpp.

375{
376 return buffer && !buffer->is_host_visible();
377}
std::shared_ptr< NetworkGeometryBuffer > buffer

References buffer.

Referenced by MayaFlux::Buffers::DataWriteProcessor::write_buffer().

+ Here is the caller graph for this function: