C Specification

To determine the memory parameters to use when importing a QNX Screen buffer, call:

// Provided by VK_QNX_external_memory_screen_buffer
VkResult vkGetScreenBufferPropertiesQNX(
    VkDevice                                    device,
    const struct _screen_buffer*                buffer,
    VkScreenBufferPropertiesQNX*                pProperties);


  • device is the logical device that will be importing buffer.

  • buffer is the QNX Screen buffer which will be imported.

  • pProperties is a pointer to a VkScreenBufferPropertiesQNX structure in which the properties of buffer are returned.


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

  • VUID-vkGetScreenBufferPropertiesQNX-buffer-parameter
    buffer must be a valid pointer to a valid _screen_buffer value

  • VUID-vkGetScreenBufferPropertiesQNX-pProperties-parameter
    pProperties must be a valid pointer to a VkScreenBufferPropertiesQNX structure

Return Codes
On success, this command returns

On failure, this command returns

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-2023 The Khronos Group Inc.

SPDX-License-Identifier: CC-BY-4.0