VK_EXT_private_data(3)

# VK_EXT_private_data(3) Manual Page

## Name

VK_EXT_private_data - device extension

Loading… please wait.

## Registered Extension Number

296

## Revision

1

## Extension and Version Dependencies

- Requires Vulkan 1.0

### Other Extension Metadata

Last Modified Date

  2020-03-25

IP Status

  No known IP claims.

Contributors

  - Matthew Rusch, NVIDIA

  - Nuno Subtil, NVIDIA

  - Piers Daniell, NVIDIA

  - Jeff Bolz, NVIDIA

### Description

The 'VK_EXT_private_data' extension is a device extension which enables attaching arbitrary payloads to Vulkan objects. It introduces the idea of private data slots as a means of storing a 64-bit unsigned integer of application defined data. Private data slots can be created or destroyed any time an associated device is available. Private data slots can be reserved at device creation time, and limiting use to the amount reserved will allow the extension to exhibit better performance characteristics.

### New Object Types

- VkPrivateDataSlotEXT

### New Commands

- vkCreatePrivateDataSlotEXT

- vkDestroyPrivateDataSlotEXT

- vkGetPrivateDataEXT

- vkSetPrivateDataEXT

### New Structures

- VkPrivateDataSlotCreateInfoEXT

- Extending VkDeviceCreateInfo:

  - VkDevicePrivateDataCreateInfoEXT

- Extending VkPhysicalDeviceFeatures2, VkDeviceCreateInfo:

  - VkPhysicalDevicePrivateDataFeaturesEXT

### New Enums

- VkPrivateDataSlotCreateFlagBitsEXT

### New Bitmasks

- VkPrivateDataSlotCreateFlagsEXT

### New Enum Constants

- `VK_EXT_PRIVATE_DATA_EXTENSION_NAME`

- `VK_EXT_PRIVATE_DATA_SPEC_VERSION`

- Extending VkObjectType:

  - `VK_OBJECT_TYPE_PRIVATE_DATA_SLOT_EXT`

- Extending VkStructureType:

  - `VK_STRUCTURE_TYPE_DEVICE_PRIVATE_DATA_CREATE_INFO_EXT`

  - `VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PRIVATE_DATA_FEATURES_EXT`

  - `VK_STRUCTURE_TYPE_PRIVATE_DATA_SLOT_CREATE_INFO_EXT`

### Examples

- In progress

### Version History

- Revision 1, 2020-01-15 (Matthew Rusch)

  - Initial draft

## See Also

VkDevicePrivateDataCreateInfoEXT, VkPhysicalDevicePrivateDataFeaturesEXT, VkPrivateDataSlotCreateFlagBitsEXT, VkPrivateDataSlotCreateFlagsEXT, VkPrivateDataSlotCreateInfoEXT, VkPrivateDataSlotEXT, vkCreatePrivateDataSlotEXT, vkDestroyPrivateDataSlotEXT, vkGetPrivateDataEXT, vkSetPrivateDataEXT

## Document Notes

For more information, see the Vulkan Specification

This page is a generated document. Fixes and changes should be made to the generator scripts, not directly.

## Copyright

Copyright 2014-2021 The Khronos Group Inc.

SPDX-License-Identifier: CC-BY-4.0