VkDevicePrivateDataCreateInfo(3)

# VkDevicePrivateDataCreateInfo(3) Manual Page

## Name

VkDevicePrivateDataCreateInfo - Reserve private data slots

## C Specification

To reserve private data storage slots, add a VkDevicePrivateDataCreateInfo structure to the `pNext` chain of the VkDeviceCreateInfo structure. Reserving slots in this manner is not strictly necessary, but doing so may improve performance.

    // Provided by VK_VERSION_1_3
    typedef struct VkDevicePrivateDataCreateInfo {
        VkStructureType    sType;
        const void*        pNext;
        uint32_t           privateDataSlotRequestCount;
    } VkDevicePrivateDataCreateInfo;

    // Provided by VK_EXT_private_data
    // Equivalent to VkDevicePrivateDataCreateInfo
    typedef VkDevicePrivateDataCreateInfo VkDevicePrivateDataCreateInfoEXT;

## Members

- `sType` is a VkStructureType value identifying this structure.

- `pNext` is `NULL` or a pointer to a structure extending this structure.

- `privateDataSlotRequestCount` is the amount of slots to reserve.

## Description

Valid Usage (Implicit)

- VUID-VkDevicePrivateDataCreateInfo-sType-sType
  `sType` must be VK_STRUCTURE_TYPE_DEVICE_PRIVATE_DATA_CREATE_INFO

Structure Chaining

Extends the structure

  - VkDeviceCreateInfo

## See Also

VK_EXT_private_data, VK_VERSION_1_3, VkStructureType

## 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