C Specification

To get the opaque capture descriptor data for a tensor view, call:

// Provided by VK_EXT_descriptor_buffer with VK_ARM_tensors
VkResult vkGetTensorViewOpaqueCaptureDescriptorDataARM(
    VkDevice                                    device,
    const VkTensorViewCaptureDescriptorDataInfoARM* pInfo,
    void*                                       pData);

Parameters

  • device is the logical device that gets the data.

  • pInfo is a pointer to a VkTensorViewCaptureDescriptorDataInfoARM structure specifying the tensor view.

  • pData is a pointer to a user-allocated buffer where the data will be written.

Description

Valid Usage
Valid Usage (Implicit)
  • VUID-vkGetTensorViewOpaqueCaptureDescriptorDataARM-device-parameter
    device must be a valid VkDevice handle

  • VUID-vkGetTensorViewOpaqueCaptureDescriptorDataARM-pInfo-parameter
    pInfo must be a valid pointer to a valid VkTensorViewCaptureDescriptorDataInfoARM structure

  • VUID-vkGetTensorViewOpaqueCaptureDescriptorDataARM-pData-parameter
    pData must be a pointer value

Return Codes
On success, this command returns
  • VK_SUCCESS

On failure, this command returns
  • VK_ERROR_OUT_OF_HOST_MEMORY

  • VK_ERROR_OUT_OF_DEVICE_MEMORY

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