VKMEMORYHEAP(3)

NAME
VkMemoryHeap - Structure specifying a memory heap

C SPECIFICATION

The VkMemoryHeap structure is defined as:

    typedef struct VkMemoryHeap {
        VkDeviceSize         size;
        VkMemoryHeapFlags    flags;
    } VkMemoryHeap;

MEMBERS

    • size is the total memory size in bytes in the heap.

    • flags is a bitmask of attribute flags for the heap. The bits specified in flags are:

        typedef enum VkMemoryHeapFlagBits {
            VK_MEMORY_HEAP_DEVICE_LOCAL_BIT = 0x00000001,
        } VkMemoryHeapFlagBits;

        • if flags contains VK_MEMORY_HEAP_DEVICE_LOCAL_BIT, it means the heap corresponds to device local memory. Device local memory may have different performance characteristics than host local memory, and may support different memory property flags.

DESCRIPTION

SEE ALSO

VkDeviceSize, VkMemoryHeapFlags, VkPhysicalDeviceMemoryProperties

DOCUMENT NOTES

For more information, see the Vulkan Specification at URL

https://www.khronos.org/registry/vulkan/specs/1.0/xhtml/vkspec.html#VkMemoryHeap

This page is extracted from the Vulkan Specification. Fixes and changes should be made to the Specification,not directly.

COPYRIGHT

Copyright (c) 2014-2016 Khronos Group. This work is licensed under a Creative Commons Attribution 4.0 International License.

AUTHOR

Khronos Group
    Author.