C Specification

The VkPipelineBinaryDataKHR structure is defined as:

// Provided by VK_KHR_pipeline_binary
typedef struct VkPipelineBinaryDataKHR {
    size_t    dataSize;
    void*     pData;
} VkPipelineBinaryDataKHR;

Members

  • dataSize is the size of the pData buffer in bytes.

  • pData is a pointer to a buffer of size bytes that contains pipeline binary data obtained from vkGetPipelineBinaryDataKHR.

Description

Valid Usage (Implicit)
  • VUID-VkPipelineBinaryDataKHR-pData-parameter
    pData must be a valid pointer to an array of dataSize bytes

  • VUID-VkPipelineBinaryDataKHR-dataSize-arraylength
    dataSize must be greater than 0

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