VK_DEFINE_NON_DISPAT(3)

NAME
VK_DEFINE_NON_DISPATCHABLE_HANDLE - Declare a non-dispatchable object handle

C SPECIFICATION

VK_DEFINE_NON_DISPATCHABLE_HANDLE defines a non-dispatchable handle type.

    #if defined(__LP64__) || defined(_WIN64) || defined(__x86_64__) || defined(_M_X64) || defined(__ia64) || defined (_M_IA64) || defined(__aarch64__) || defined(__powerpc64__)
            #define VK_DEFINE_NON_DISPATCHABLE_HANDLE(object) typedef struct object##_T *object;
    #else
            #define VK_DEFINE_NON_DISPATCHABLE_HANDLE(object) typedef uint64_t object;
    #endif

DESCRIPTION

    • object is the name of the resulting C type.

Most Vulkan handle types, such as VkBuffer, are non-dispatchable.

SEE ALSO

VkBuffer

DOCUMENT NOTES

For more information, see the Vulkan Specification at URL

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

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.