VKAPI_ATTR(3)

# VKAPI_ATTR(3) Manual Page

## Name

VKAPI_ATTR - Vulkan function attribute macro

Loading… please wait.

## Description

`VKAPI_ATTR` is a macro placed before the return type in Vulkan API function declarations. This macro controls calling conventions for C++11 and GCC/Clang-style compilers.

## See Also

VKAPI_CALL, VKAPI_PTR

## 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-2025 The Khronos Group Inc.

SPDX-License-Identifier: CC-BY-4.0