VkMemoryPropertyFlagBits | NVK Search
  1. No Results
Categories
VkMemoryPropertyFlagBits Bitmask specifying properties for a memory type Stub
VkMemoryPropertyFlagBits = {
  VK_MEMORY_PROPERTY_DEVICE_LOCAL_BIT: 0x1,
  VK_MEMORY_PROPERTY_HOST_VISIBLE_BIT: 0x2,
  VK_MEMORY_PROPERTY_HOST_COHERENT_BIT: 0x4,
  VK_MEMORY_PROPERTY_HOST_CACHED_BIT: 0x8,
  VK_MEMORY_PROPERTY_LAZILY_ALLOCATED_BIT: 0x10,
  VK_MEMORY_PROPERTY_PROTECTED_BIT: 0x20,
  VK_MEMORY_PROPERTY_DEVICE_COHERENT_BIT_AMD: 0x40,
  VK_MEMORY_PROPERTY_DEVICE_UNCACHED_BIT_AMD: 0x80
};
Properties VkMemoryPropertyFlagBits.VK_MEMORY_PROPERTY_DEVICE_LOCAL_BIT bit specifies that memory allocated with this type is the most efficient for device access. This property will be set if and only if the memory type belongs to a heap with the VK_MEMORY_HEAP_DEVICE_LOCAL_BIT set. VkMemoryPropertyFlagBits.VK_MEMORY_PROPERTY_HOST_VISIBLE_BIT bit specifies that memory allocated with this type can be mapped for host access using vkMapMemory. VkMemoryPropertyFlagBits.VK_MEMORY_PROPERTY_HOST_COHERENT_BIT bit specifies that the host cache management commands vkFlushMappedMemoryRanges and vkInvalidateMappedMemoryRanges are not needed to flush host writes to the device or make device writes visible to the host, respectively. VkMemoryPropertyFlagBits.VK_MEMORY_PROPERTY_HOST_CACHED_BIT bit specifies that memory allocated with this type is cached on the host. Host memory accesses to uncached memory are slower than to cached memory, however uncached memory is always host coherent. VkMemoryPropertyFlagBits.VK_MEMORY_PROPERTY_LAZILY_ALLOCATED_BIT bit specifies that the memory type only allows device access to the memory. Memory types must not have both VK_MEMORY_PROPERTY_LAZILY_ALLOCATED_BIT and VK_MEMORY_PROPERTY_HOST_VISIBLE_BIT set. Additionally, the object's backing memory may be provided by the implementation lazily as specified in <>. VkMemoryPropertyFlagBits.VK_MEMORY_PROPERTY_PROTECTED_BIT bit specifies that the memory type only allows device access to the memory, and allows protected queue operations to access the memory. Memory types must not have VK_MEMORY_PROPERTY_PROTECTED_BIT set and any of VK_MEMORY_PROPERTY_HOST_VISIBLE_BIT set, or VK_MEMORY_PROPERTY_HOST_COHERENT_BIT set, or VK_MEMORY_PROPERTY_HOST_CACHED_BIT set. VkMemoryPropertyFlagBits.VK_MEMORY_PROPERTY_DEVICE_COHERENT_BIT_AMD VkMemoryPropertyFlagBits.VK_MEMORY_PROPERTY_DEVICE_UNCACHED_BIT_AMD