namespace Brutal.VulkanApi { /// /// VkApplicationInfo - Structure specifying application information /// /// /// /// The VkApplicationInfo structure is defined as: /// /// /// // Provided by VK_VERSION_1_0 /// typedef struct VkApplicationInfo { /// VkStructureType sType; /// const void* pNext; /// const char* pApplicationName; /// uint32_t applicationVersion; /// const char* pEngineName; /// uint32_t engineVersion; /// uint32_t apiVersion; /// } VkApplicationInfo; /// /// [StructLayout(LayoutKind.Explicit, Size = 48)] public unsafe partial struct VkApplicationInfo() { /// /// sType is a VkStructureType value identifying this structure. /// [FieldOffset(0)] internal readonly VkStructureType sType = VkStructureType.ApplicationInfo; /// /// Next is `NULL` or a pointer to a structure extending this structure. /// [FieldOffset(8)] public void* Next; /// /// ApplicationName is `NULL` or is a pointer to a null-terminated UTF-8 string containing the name of the application. /// [FieldOffset(16)] public byte* ApplicationName; /// /// ApplicationVersion is an unsigned integer variable containing the developer-supplied version number of the application. /// [FieldOffset(24)] public int ApplicationVersion; /// /// EngineName 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. /// [FieldOffset(32)] public byte* EngineName; /// /// EngineVersion is an unsigned integer variable containing the developer-supplied version number of the engine used to create the application. /// [FieldOffset(40)] public int EngineVersion; /// /// ApiVersion is the version of the Vulkan API against which the application expects to run, encoded as described in here. 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. /// [FieldOffset(44)] public int ApiVersion; } }