Structures
VkApplicationInfo
Structure specifying application information
The VkApplicationInfo
structure is defined as:
typedef struct VkApplicationInfo {
VkStructureType sType;
const void* pNext;
const char* pApplicationName;
uint32_t applicationVersion;
const char* pEngineName;
uint32_t engineVersion;
uint32_t apiVersion;
} VkApplicationInfo;
sType
is a VkStructureType value identifying this structure.pNext
isNULL
or a pointer to a structure extending this structure.pApplicationName
isNULL
or is a pointer to a null-terminated UTF-8 string containing the name of the application.applicationVersion
is an unsigned integer variable containing the developer-supplied version number of the application.pEngineName
isNULL
or is a pointer to a null-terminated UTF-8 string containing the name of the engine (if any) used to create the application.engineVersion
is an unsigned integer variable containing the developer-supplied version number of the engine used to create the application.apiVersion
is the version of the Vulkan API against which the application expects to run, encoded as described in Version Numbers. IfapiVersion
is 0 the implementation must ignore it, otherwise if the implementation does not support the requestedapiVersion
, or an effective substitute forapiVersion
, it must returnVK_ERROR_INCOMPATIBLE_DRIVER
. The patch version number specified inapiVersion
is ignored when creating an instance object. The variant version of the instance must match that requested inapiVersion
.
Valid Usage
VUID-VkApplicationInfo-apiVersion-04010
If apiVersion
is not 0
, then it must be greater than or equal
to VK_API_VERSION_1_0
Valid Usage (Implicit)
VUID-VkApplicationInfo-sType-sType
sType
must be VK_STRUCTURE_TYPE_APPLICATION_INFO
VUID-VkApplicationInfo-pNext-pNext
pNext
must be NULL
VUID-VkApplicationInfo-pApplicationName-parameter
If pApplicationName
is not NULL
, pApplicationName
must be a null-terminated UTF-8 string
VUID-VkApplicationInfo-pEngineName-parameter
If pEngineName
is not NULL
, pEngineName
must be a null-terminated UTF-8 string