Macro

VK_DEFINE_HANDLE

Declare a dispatchable object handle

VK_DEFINE_HANDLE defines a dispatchable handle type.


#define VK_DEFINE_HANDLE(object) typedef struct object##_T* object;
  • object is the name of the resulting C type.

The only dispatchable handle types are those related to device and instance management, such as VkDevice.