pub type ULSurfaceDefinitionUnlockPixelsCallback = Option<unsafe extern "C" fn(user_data: *mut c_void)>;
Expand description

The callback invoked when a Surface’s pixel buffer is requested to be unlocked after previously being locked.

@param user_data User data pointer uniquely identifying the surface.

Aliased Type§

enum ULSurfaceDefinitionUnlockPixelsCallback {
    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.