pub type ULSurfaceDefinitionResizeCallback = Option<unsafe extern "C" fn(user_data: *mut c_void, width: c_uint, height: c_uint)>;Expand description
The callback invoked when a Surface is requested to be resized to a certain width/height.
@param user_data User data pointer uniquely identifying the surface.
@param width Width in pixels.
@param height Height in pixels.
Aliased Type§
pub enum ULSurfaceDefinitionResizeCallback {
None,
Some(unsafe extern "C" fn(*mut c_void, u32, u32)),
}