|
@@ -2294,7 +2294,7 @@ extern SDL_DECLSPEC SDL_GPUDevice * SDLCALL SDL_CreateGPUDevice(
|
|
|
* - `SDL_PROP_GPU_DEVICE_CREATE_SHADERS_METALLIB_BOOLEAN`: The app is able to
|
|
* - `SDL_PROP_GPU_DEVICE_CREATE_SHADERS_METALLIB_BOOLEAN`: The app is able to
|
|
|
* provide Metal shader libraries if applicable.
|
|
* provide Metal shader libraries if applicable.
|
|
|
*
|
|
*
|
|
|
- * With the D3D12 renderer:
|
|
|
|
|
|
|
+ * With the D3D12 backend:
|
|
|
*
|
|
*
|
|
|
* - `SDL_PROP_GPU_DEVICE_CREATE_D3D12_SEMANTIC_NAME_STRING`: the prefix to
|
|
* - `SDL_PROP_GPU_DEVICE_CREATE_D3D12_SEMANTIC_NAME_STRING`: the prefix to
|
|
|
* use for all vertex semantics, default is "TEXCOORD".
|
|
* use for all vertex semantics, default is "TEXCOORD".
|
|
@@ -2307,8 +2307,9 @@ extern SDL_DECLSPEC SDL_GPUDevice * SDLCALL SDL_CreateGPUDevice(
|
|
|
* either supports Tier 2 Resource Binding or does not support D3D12 in any
|
|
* either supports Tier 2 Resource Binding or does not support D3D12 in any
|
|
|
* capacity. Defaults to false.
|
|
* capacity. Defaults to false.
|
|
|
*
|
|
*
|
|
|
- * With the Vulkan renderer: -
|
|
|
|
|
- * `SDL_PROP_GPU_DEVICE_CREATE_VULKAN_REQUIRE_HARDWARE_ACCELERATION`: By
|
|
|
|
|
|
|
+ * With the Vulkan backend:
|
|
|
|
|
+ *
|
|
|
|
|
+ * - `SDL_PROP_GPU_DEVICE_CREATE_VULKAN_REQUIRE_HARDWARE_ACCELERATION`: By
|
|
|
* default, Vulkan device enumeration includes drivers of all types, including
|
|
* default, Vulkan device enumeration includes drivers of all types, including
|
|
|
* software renderers (for example, the Lavapipe Mesa driver). This can be
|
|
* software renderers (for example, the Lavapipe Mesa driver). This can be
|
|
|
* useful if your application _requires_ SDL_GPU, but if you can provide your
|
|
* useful if your application _requires_ SDL_GPU, but if you can provide your
|