mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2024-11-21 16:46:41 -08:00
include: Document structure vkd3d_optional_device_extensions_info.
This commit is contained in:
parent
2b1abc5d7b
commit
2679b10fcb
Notes:
Alexandre Julliard
2024-05-02 22:40:34 +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/819
@ -290,13 +290,26 @@ struct vkd3d_device_create_info
|
|||||||
LUID adapter_luid;
|
LUID adapter_luid;
|
||||||
};
|
};
|
||||||
|
|
||||||
/* Extends vkd3d_device_create_info. Available since 1.2. */
|
/**
|
||||||
|
* A chained structure to specify optional device extensions.
|
||||||
|
*
|
||||||
|
* This structure extends vkd3d_device_create_info.
|
||||||
|
*
|
||||||
|
* \since 1.2
|
||||||
|
*/
|
||||||
struct vkd3d_optional_device_extensions_info
|
struct vkd3d_optional_device_extensions_info
|
||||||
{
|
{
|
||||||
|
/** Must be set to VKD3D_STRUCTURE_TYPE_OPTIONAL_DEVICE_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 device extensions to request. Device 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