pub unsafe extern "C" fn SDL_CreateGPURenderState(
renderer: *mut SDL_Renderer,
createinfo: *mut SDL_GPURenderStateCreateInfo,
) -> *mut SDL_GPURenderStateExpand description
Create custom GPU render state.
§Parameters
renderer: the renderer to use.createinfo: a struct describing the GPU render state to create.
§Return value
Returns a custom GPU render state or NULL on failure; call SDL_GetError()
for more information.
§Thread safety
This function should be called on the thread that created the renderer.
§Availability
This function is available since SDL 3.4.0.