Get the properties associated with a renderer.
SDL_PropertiesID SDL_GetRendererProperties(SDL_Renderer *renderer);
renderer | the rendering context |
Returns a valid property ID on success or 0 on failure; call SDL_GetError() for more information.
The following read-only properties are provided by SDL:
"SDL.renderer.d3d9.device" (pointer) - the IDirect3DDevice9 associated with the renderer
"SDL.renderer.d3d11.device" (pointer) - the ID3D11Device associated with the renderer
"SDL.renderer.d3d12.device" (pointer) - the ID3D12Device associated with the renderer
"SDL.renderer.d3d12.command_queue" (pointer) - the ID3D12CommandQueue associated with the renderer
This function is available since SDL 3.0.0.