Structures

VkExternalFormatQNX

Structure containing a QNX Screen buffer external format

To create an image with an QNX Screen external format, add a VkExternalFormatQNX structure in the pNext chain of VkImageCreateInfo. VkExternalFormatQNX is defined as:

typedef struct VkExternalFormatQNX {
    VkStructureType sType;
    void* pNext;
    uint64_t externalFormat;
} VkExternalFormatQNX;
  • sType is a VkStructureType value identifying this structure.
  • pNext is NULL or a pointer to a structure extending this structure.
  • externalFormat is an implementation-defined identifier for the external format

If externalFormat is zero, the effect is as if the VkExternalFormatQNX structure was not present. Otherwise, the image will have the specified external format.

Valid Usage

VUID-VkExternalFormatQNX-externalFormat-08956

externalFormat must be 0 or a value returned in the externalFormat member of VkScreenBufferFormatPropertiesQNX by an earlier call to vkGetScreenBufferPropertiesQNX

Valid Usage (Implicit)

VUID-VkExternalFormatQNX-sType-sType

sType must be VK_STRUCTURE_TYPE_EXTERNAL_FORMAT_QNX