MoltenVK/MoltenVK/GPUObjects/MVKDeviceMemory.h
inline bool isMemoryHostAccessible() {
#if MVK_APPLE_SILICON
        if (_mtlStorageMode == MTLStorageModeMemoryless)
            return false;
#endif
        return (_mtlStorageMode != MTLStorageModePrivate);
    }
/** Returns whether the memory is accessible from the host. */
Returns whether the memory is accessible from the host.
Returns whether the memory is accessible from the host .
inline bool isMemoryHostAccessible() {
#if MVK_APPLE_SILICON
        if (_mtlStorageMode == MTLStorageModeMemoryless)
            return false;
#endif
        return (_mtlStorageMode != MTLStorageModePrivate);
    }
inline bool isMemoryHostAccessible ( ) { #if MVK_APPLE_SILICON if ( _mtlStorageMode == MTLStorageModeMemoryless ) return false ; #endif return ( _mtlStorageMode != MTLStorageModePrivate ) ; }
Returns whether the memory is accessible from the host.
Returns whether the memory is accessible from the host .