include: Document struct vkd3d_optional_instance_extensions_info.

This commit is contained in:
Giovanni Mascellani 2024-04-20 23:40:44 +02:00 committed by Alexandre Julliard
parent a1ebb3925b
commit d27bbce0e1
Notes: Alexandre Julliard 2024-04-22 23:38:43 +02:00
Approved-by: Giovanni Mascellani (@giomasce)
Approved-by: Henri Verbeet (@hverbeet)
Approved-by: Alexandre Julliard (@julliard)
Merge-Request: https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/812

View File

@ -151,13 +151,26 @@ struct vkd3d_instance_create_info
uint32_t instance_extension_count;
};
/* Extends vkd3d_instance_create_info. Available since 1.1. */
/**
* A chained structure to specify optional instance extensions.
*
* This structure extends vkd3d_instance_create_info.
*
* \since 1.1
*/
struct vkd3d_optional_instance_extensions_info
{
/** Must be set to VKD3D_STRUCTURE_TYPE_OPTIONAL_INSTANCE_EXTENSIONS_INFO. */
enum vkd3d_structure_type type;
/** Optional pointer to a structure containing further parameters. */
const void *next;
/**
* A list of optional Vulkan instance extensions to request. Instance creation does not fail if
* they are not available.
*/
const char * const *extensions;
/** The number of elements in the extensions array. */
uint32_t extension_count;
};