SDL_iOSAnimationCallback

Type Alias SDL_iOSAnimationCallback 

Source
pub type SDL_iOSAnimationCallback = Option<unsafe extern "C" fn(userdata: *mut c_void)>;
Available on iOS or tvOS or visionOS or watchOS only.
Expand description

The prototype for an Apple iOS animation callback.

This datatype is only useful on Apple iOS.

After passing a function pointer of this type to SDL_SetiOSAnimationCallback, the system will call that function pointer at a regular interval.

§Parameters

§Availability

This datatype is available since SDL 3.2.0.

§See also

Aliased Type§

pub enum SDL_iOSAnimationCallback {
    None,
    Some(unsafe extern "C" fn(*mut c_void)),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(unsafe extern "C" fn(*mut c_void))

Some value of type T.