VKAPPLICATIONINFO(3)

NAME
VkApplicationInfo - Structure specifying application info

C SPECIFICATION

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;

MEMBERS

    • sType is the type of this structure.

    • pNext is NULL or a pointer to an extension-specific structure.

    • pApplicationName 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 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 the API Version Numbers and Semantics section. If apiVersion is 0 the implementation must ignore it, otherwise if the implementation does not support the requested apiVersion it must return VK_ERROR_INCOMPATIBLE_DRIVER. The patch version number specified in apiVersion is ignored when creating an instance object. Only the major and minor versions of the instance must match those requested in apiVersion.

DESCRIPTION

VALID USAGE

    • sType must be VK_STRUCTURE_TYPE_APPLICATION_INFO

    • pNext must be NULL

    • If pApplicationName is not NULL, pApplicationName must be a null-terminated string

    • If pEngineName is not NULL, pEngineName must be a null-terminated string

    • apiVersion must be zero, or otherwise it must be a version that the implementation supports, or supports an effective substitute for

SEE ALSO

VkInstanceCreateInfo, VkStructureType

DOCUMENT NOTES

For more information, see the Vulkan Specification at URL

https://www.khronos.org/registry/vulkan/specs/1.0/xhtml/vkspec.html#VkApplicationInfo

This page is extracted from the Vulkan Specification. Fixes and changes should be made to the Specification,not directly.

COPYRIGHT

Copyright (c) 2014-2016 Khronos Group. This work is licensed under a Creative Commons Attribution 4.0 International License.

AUTHOR

Khronos Group
    Author.