VK_DEFINE_HANDLE(3)

# VK_DEFINE_HANDLE(3) Manual Page

## Name

VK_DEFINE_HANDLE - Declare a dispatchable object handle

Loading… please wait.

## C Specification

`VK_DEFINE_HANDLE` defines a dispatchable handle type.

    // Provided by VK_VERSION_1_0

    #define VK_DEFINE_HANDLE(object) typedef struct object##_T* object;

## Description

- `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.

## See Also

VK_VERSION_1_0, VkCommandBuffer, VkDevice, VkInstance, VkPhysicalDevice, VkQueue

## Document Notes

For more information, see the Vulkan Specification

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

## Copyright

Copyright 2014-2024 The Khronos Group Inc.

SPDX-License-Identifier: CC-BY-4.0