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
isNULL
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
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