XII Release 0.1.0
Loading...
Searching...
No Matches
xiiVulkanMemoryPropertyFlags Struct Reference

Abstract representation of Vulkan memory property flags. More...

#include <MemoryAllocatorVulkan.h>

Classes

struct  Bits
 

Public Types

enum  Enum : StorageType {
  DeviceLocal = 0x00000001 , HostVisible = 0x00000002 , HostCoherent = 0x00000004 , HostCached = 0x00000008 ,
  LazilyAllocated = 0x00000010 , Protected = 0x00000020 , Default = 0U
}
 
using StorageType = xiiUInt32
 

Detailed Description

Abstract representation of Vulkan memory property flags.

Helps describe physical device memory types in a readable and type-safe way.

Member Enumeration Documentation

◆ Enum

Enumerator
DeviceLocal 

Memory is physically located on the device (fast access for GPU).

HostVisible 

Memory is visible to the host (CPU) and can be mapped.

HostCoherent 

Host writes are automatically visible to the device without flushing.

HostCached 

Host memory access is cached (may require flushing/invalidation).

LazilyAllocated 

Memory is lazily allocated by the driver (used with transient resources).

Protected 

Memory with protection features—typically used for secure buffers.

Default 

No flags set.


The documentation for this struct was generated from the following file: