Type Definition ul_sys::ULSurfaceDefinitionCreateCallback [−][src]
pub type ULSurfaceDefinitionCreateCallback = Option<unsafe extern "C" fn(width: c_uint, height: c_uint) -> *mut c_void>;
Expand description
The callback invoked when a Surface is created.
@param width The width in pixels. @param height The height in pixels.
@return This callback should return a pointer to user-defined data for the instance. This user data pointer will be passed to all other callbacks when operating on the instance.