mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-05-31 05:46:43 +08:00
Sync SDL3 wiki -> header
[ci skip]
This commit is contained in:
+10
-11
@@ -2360,20 +2360,19 @@ extern SDL_DECLSPEC SDL_GPUDevice * SDLCALL SDL_CreateGPUDeviceWithProperties(
|
|||||||
* A structure specifying additional options when using Vulkan.
|
* A structure specifying additional options when using Vulkan.
|
||||||
*
|
*
|
||||||
* When no such structure is provided, SDL will use Vulkan API version 1.0 and
|
* When no such structure is provided, SDL will use Vulkan API version 1.0 and
|
||||||
* a minimal set of features.
|
* a minimal set of features. The requested API version influences how the
|
||||||
* The requested API version influences how the feature_list is processed by
|
* feature_list is processed by SDL. When requesting API version 1.0, the
|
||||||
* SDL. When requesting API version 1.0, the feature_list is ignored. Only the
|
* feature_list is ignored. Only the vulkan_10_phyisical_device_features and
|
||||||
* vulkan_10_phyisical_device_features and the extension lists are used. When
|
* the extension lists are used. When requesting API version 1.1, the
|
||||||
* requesting API version 1.1, the feature_list is scanned for feature
|
* feature_list is scanned for feature structures introduced in Vulkan 1.1.
|
||||||
* structures introduced in Vulkan 1.1. When requesting Vulkan 1.2 or higher,
|
* When requesting Vulkan 1.2 or higher, the feature_list is additionally
|
||||||
* the feature_list is additionally scanned for compound feature structs such
|
* scanned for compound feature structs such as
|
||||||
* as VkPhysicalDeviceVulkan11Features. The device and instance extension
|
* VkPhysicalDeviceVulkan11Features. The device and instance extension lists,
|
||||||
* lists, as well as vulkan_10_physical_device_features, are always processed.
|
* as well as vulkan_10_physical_device_features, are always processed. The
|
||||||
* The pointers inside this structure are NOT deep-copied. Make sure they are
|
* pointers inside this structure are NOT deep-copied. Make sure they are
|
||||||
* valid during window creation.
|
* valid during window creation.
|
||||||
*
|
*
|
||||||
* \since This struct is available since SDL 3.4.0.
|
* \since This struct is available since SDL 3.4.0.
|
||||||
*
|
|
||||||
*/
|
*/
|
||||||
typedef struct SDL_GPUVulkanOptions
|
typedef struct SDL_GPUVulkanOptions
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user