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 is NULL or a pointer to a structure extending this structure.
  • pApplicationName is NULL 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 is NULL 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. If apiVersion is 0 the implementation must ignore it, otherwise if the implementation does not support the requested apiVersion, or an effective substitute for apiVersion, it must return VK_ERROR_INCOMPATIBLE_DRIVER. The patch version number specified in apiVersion is ignored when creating an instance object. The variant version of the instance must match that requested in apiVersion.

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