mirror of
https://github.com/shadps4-emu/ext-SDL.git
synced 2024-11-27 03:50:25 +00:00
Sync SDL3 wiki -> header
This commit is contained in:
parent
683e5b8d52
commit
9f0b23d3ad
@ -954,22 +954,23 @@ extern SDL_DECLSPEC SDL_GPUDevice *SDLCALL SDL_CreateGPUDevice(
|
||||
*
|
||||
* These are the current shader format properties:
|
||||
*
|
||||
* - `SDL_PROP_GPU_DEVICE_CREATE_SHADERS_SECRET_BOOL`: The app is able to provide
|
||||
* shaders for an NDA platform.
|
||||
* - `SDL_PROP_GPU_DEVICE_CREATE_SHADERS_SPIRV_BOOL`:
|
||||
* The app is able to provide SPIR-V shaders if applicable.
|
||||
* - `SDL_PROP_GPU_DEVICE_CREATE_SHADERS_SECRET_BOOL`: The app is able to
|
||||
* provide shaders for an NDA platform.
|
||||
* - `SDL_PROP_GPU_DEVICE_CREATE_SHADERS_SPIRV_BOOL`: The app is able to
|
||||
* provide SPIR-V shaders if applicable.
|
||||
* - SDL_PROP_GPU_DEVICE_CREATE_SHADERS_DXBC_BOOL`: The app is able to provide
|
||||
* DXBC shaders if applicable `SDL_PROP_GPU_DEVICE_CREATE_SHADERS_DXIL_BOOL`:
|
||||
* The app is able to provide DXIL shaders if applicable.
|
||||
* DXBC shaders if applicable
|
||||
* `SDL_PROP_GPU_DEVICE_CREATE_SHADERS_DXIL_BOOL`: The app is able to
|
||||
* provide DXIL shaders if applicable.
|
||||
* - `SDL_PROP_GPU_DEVICE_CREATE_SHADERS_MSL_BOOL`: The app is able to provide
|
||||
* MSL shaders if applicable.
|
||||
* MSL shaders if applicable.
|
||||
* - `SDL_PROP_GPU_DEVICE_CREATE_SHADERS_METALLIB_BOOL`: The app is able to
|
||||
* provide Metal shader libraries if applicable.
|
||||
* provide Metal shader libraries if applicable.
|
||||
*
|
||||
* With the D3D12 renderer:
|
||||
*
|
||||
* - `SDL_PROP_GPU_DEVICE_CREATE_D3D12_SEMANTIC_NAME_STRING`: the prefix to use
|
||||
* for all vertex semantics, default is "TEXCOORD".
|
||||
* - `SDL_PROP_GPU_DEVICE_CREATE_D3D12_SEMANTIC_NAME_STRING`: the prefix to
|
||||
* use for all vertex semantics, default is "TEXCOORD".
|
||||
*
|
||||
* \param props the properties to use.
|
||||
* \returns a GPU context on success or NULL on failure.
|
||||
|
Loading…
Reference in New Issue
Block a user