Structures

VkAndroidSurfaceCreateInfoKHR

Structure specifying parameters of a newly created Android surface object

The VkAndroidSurfaceCreateInfoKHR structure is defined as:

typedef struct VkAndroidSurfaceCreateInfoKHR {
    VkStructureType sType;
    const void* pNext;
    VkAndroidSurfaceCreateFlagsKHR flags;
    struct ANativeWindow* window;
} VkAndroidSurfaceCreateInfoKHR;
  • sType is a VkStructureType value identifying this structure.
  • pNext is NULL or a pointer to a structure extending this structure.
  • flags is reserved for future use.
  • window is a pointer to the ANativeWindow to associate the surface with.

Valid Usage

Valid Usage (Implicit)

VUID-VkAndroidSurfaceCreateInfoKHR-sType-sType

sType must be VK_STRUCTURE_TYPE_ANDROID_SURFACE_CREATE_INFO_KHR