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;
sTypeis a VkStructureType value identifying this structure.pNextisNULLor a pointer to a structure extending this structure.flagsis reserved for future use.windowis a pointer to the ANativeWindow to associate the surface with.
Valid Usage
VUID-VkAndroidSurfaceCreateInfoKHR-window-01248
window must point to a valid Android ANativeWindow
Valid Usage (Implicit)
VUID-VkAndroidSurfaceCreateInfoKHR-sType-sType
sType must be VK_STRUCTURE_TYPE_ANDROID_SURFACE_CREATE_INFO_KHR
VUID-VkAndroidSurfaceCreateInfoKHR-pNext-pNext
pNext must be NULL
VUID-VkAndroidSurfaceCreateInfoKHR-flags-zerobitmask
flags must be 0