C Specification

To fill the private attributes of an unreconciled NvSciBufAttrList, call:

// Provided by VK_NV_external_memory_sci_buf
VkResult vkGetPhysicalDeviceSciBufAttributesNV(
    VkPhysicalDevice                            physicalDevice,
    NvSciBufAttrList                            pAttributes);

Parameters

  • physicalDevice is the handle to the physical device that will be used to determine the attributes.

  • pAttributes is an opaque NvSciBufAttrList in which the implementation will set the requested attributes.

Description

On success, pAttributes will contain an unreconciled NvSciBufAttrList whose private attributes are filled in by the implementation. If the private attributes of physicalDevice could not be obtained, VK_ERROR_INITIALIZATION_FAILED is returned.

Valid Usage
  • VUID-vkGetPhysicalDeviceSciBufAttributesNV-pAttributes-05101
    pAttributes must be a valid NvSciBufAttrList and must not be NULL

Valid Usage (Implicit)
  • VUID-vkGetPhysicalDeviceSciBufAttributesNV-physicalDevice-parameter
    physicalDevice must be a valid VkPhysicalDevice handle

Return Codes
On success, this command returns
  • VK_SUCCESS

On failure, this command returns
  • VK_ERROR_OUT_OF_HOST_MEMORY

  • VK_ERROR_INITIALIZATION_FAILED

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