C Specification

// Provided by VK_KHR_surface_maintenance1
typedef VkFlags VkPresentGravityFlagsKHR;

or the equivalent

// Provided by VK_EXT_surface_maintenance1
typedef VkPresentGravityFlagsKHR VkPresentGravityFlagsEXT;

Description

VkPresentGravityFlagsKHR is a bitmask type for setting a mask of zero or more VkPresentGravityFlagBitsKHR.

See Also

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

SPDX-License-Identifier: CC-BY-4.0