VK_WHOLE_SIZE(3)

# VK_WHOLE_SIZE(3) Manual Page

## Name

VK_WHOLE_SIZE - Sentinel value to use entire remaining array length

## C Specification

VK_WHOLE_SIZE is a special value indicating that the entire remaining length of a buffer or allocation following a given `offset` should be used. It can be specified for VkBufferMemoryBarrier::`size`, vkMapMemory::`size`, and other similar structures.

    #define VK_WHOLE_SIZE                     (~0ULL)

## See Also

VK_VERSION_1_0

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

SPDX-License-Identifier: CC-BY-4.0