Structures
VkMemoryType
Structure specifying memory type
The VkMemoryType structure is defined as:
typedef struct VkMemoryType {
VkMemoryPropertyFlags propertyFlags;
uint32_t heapIndex;
} VkMemoryType;
pub struct MemoryType {
property_flags: vk::MemoryPropertyFlags, // Memory properties of this memory type
heap_index: u32, // Index of the memory heap allocations of this memory type are taken from
}
heapIndexdescribes which memory heap this memory type corresponds to, and must be less thanmemoryHeapCountfrom the VkPhysicalDeviceMemoryProperties structure.propertyFlagsis a bitmask of VkMemoryPropertyFlagBits of properties for this memory type.
Parent
VK_VERSION_1_0Type
Structures