namespace Brutal.VulkanApi { public static partial class Vulkan { public static unsafe partial class PInvoke { /// /// vkCreateInstance - Create a new Vulkan instance /// /// /// /// To create an instance object, call: /// /// /// // Provided by VK_VERSION_1_0 /// VkResult vkCreateInstance( /// const VkInstanceCreateInfo* pCreateInfo, /// const VkAllocationCallbacks* pAllocator, /// VkInstance* pInstance); /// /// /// is a pointer to a VkInstanceCreateInfo structure controlling creation of the instance. /// controls host memory allocation as described in the Memory Allocation^ chapter. /// points a VkInstance handle in which the resulting instance is returned. [LibraryImport("vulkan")] public static unsafe partial VkResult vkCreateInstance( VkInstanceCreateInfo* pCreateInfo, VkAllocationCallbacks* pAllocator, VkInstance* pInstance ); /// /// vkEnumerateInstanceExtensionProperties - Returns up to requested number of global extension properties /// /// /// /// To query the available instance extensions, call: /// /// /// // Provided by VK_VERSION_1_0 /// VkResult vkEnumerateInstanceExtensionProperties( /// const char* pLayerName, /// uint32_t* pPropertyCount, /// VkExtensionProperties* pProperties); /// /// /// is either `NULL` or a pointer to a null-terminated UTF-8 string naming the layer to retrieve extensions from. /// is a pointer to an integer related to the number of extension properties available or queried, as described below. /// is either `NULL` or a pointer to an array of VkExtensionProperties structures. [LibraryImport("vulkan")] public static unsafe partial VkResult vkEnumerateInstanceExtensionProperties( byte* pLayerName, int* pPropertyCount, VkExtensionProperties* pProperties ); /// /// vkEnumerateInstanceLayerProperties - Returns up to requested number of global layer properties /// /// /// /// To query the available layers, call: /// /// /// // Provided by VK_VERSION_1_0 /// VkResult vkEnumerateInstanceLayerProperties( /// uint32_t* pPropertyCount, /// VkLayerProperties* pProperties); /// /// /// is a pointer to an integer related to the number of layer properties available or queried, as described below. /// is either `NULL` or a pointer to an array of VkLayerProperties structures. [LibraryImport("vulkan")] public static unsafe partial VkResult vkEnumerateInstanceLayerProperties( int* pPropertyCount, VkLayerProperties* pProperties ); /// /// vkEnumerateInstanceVersion - Query instance-level version before instance creation /// /// /// /// To query the version of instance-level functionality supported by the /// implementation, call: /// /// /// // Provided by VK_VERSION_1_1 /// VkResult vkEnumerateInstanceVersion( /// uint32_t* pApiVersion); /// /// /// is a pointer to a uint32_t, which is the version of Vulkan supported by instance-level functionality, encoded as described in here. [LibraryImport("vulkan")] public static unsafe partial VkResult vkEnumerateInstanceVersion(int* pApiVersion); } } }