Function SDL_StorageReady

pub unsafe extern "C" fn SDL_StorageReady(
    storage: *mut SDL_Storage,
) -> bool
Available on crate feature dep_sdl3 only.
Expand description

Checks if the storage container is ready to use.

This function should be called in regular intervals until it returns true - however, it is not recommended to spinwait on this call, as the backend may depend on a synchronous message loop.

§Parameters

  • storage: a storage container to query.

§Return value

Returns true if the container is ready, false otherwise.

§Availability

This function is available since SDL 3.2.0.