mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2024-11-21 16:46:41 -08:00
include: Document struct vkd3d_optional_instance_extensions_info.
This commit is contained in:
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
@ -151,13 +151,26 @@ struct vkd3d_instance_create_info
|
|||||||
uint32_t instance_extension_count;
|
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
|
struct vkd3d_optional_instance_extensions_info
|
||||||
{
|
{
|
||||||
|
/** Must be set to VKD3D_STRUCTURE_TYPE_OPTIONAL_INSTANCE_EXTENSIONS_INFO. */
|
||||||
enum vkd3d_structure_type type;
|
enum vkd3d_structure_type type;
|
||||||
|
/** Optional pointer to a structure containing further parameters. */
|
||||||
const void *next;
|
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;
|
const char * const *extensions;
|
||||||
|
/** The number of elements in the extensions array. */
|
||||||
uint32_t extension_count;
|
uint32_t extension_count;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user