Class VkInstanceCreateInfo

All Implemented Interfaces:
AutoCloseable, NativeResource, Pointer

public class VkInstanceCreateInfo extends Struct<VkInstanceCreateInfo> implements NativeResource
Structure specifying parameters of a newly created instance.
Description

To capture events that occur while creating or destroying an instance, an application can link a VkDebugReportCallbackCreateInfoEXT structure or a VkDebugUtilsMessengerCreateInfoEXT structure to the pNext element of the VkInstanceCreateInfo structure given to vkCreateInstance. This callback is only valid for the duration of the CreateInstance and the DestroyInstance call. Use CreateDebugReportCallbackEXT or CreateDebugUtilsMessengerEXT to create persistent callback objects.

An application can add additional drivers by including the VkDirectDriverLoadingListLUNARG struct to the pNext element of the VkInstanceCreateInfo structure given to vkCreateInstance.

Note

VkDirectDriverLoadingListLUNARG allows applications to ship drivers with themselves. Only drivers that are designed to work with it should be used, such as drivers that implement Vulkan in software or that implement Vulkan by translating it to a different API. Any driver that requires installation should not be used, such as hardware drivers.

Valid Usage
Valid Usage (Implicit)
See Also

VkApplicationInfo, CreateInstance

Layout


 struct VkInstanceCreateInfo {
     VkStructureType sType();
     void const * pNext();
     VkInstanceCreateFlags flags();
     VkApplicationInfo const * pApplicationInfo();
     uint32_t enabledLayerCount();
     char const * const * ppEnabledLayerNames();
     uint32_t enabledExtensionCount();
     char const * const * ppEnabledExtensionNames();
 }