Type Alias ul_next_sys::ULSurfaceDefinitionGetRowBytesCallback
source · pub type ULSurfaceDefinitionGetRowBytesCallback = Option<unsafe extern "C" fn(user_data: *mut c_void) -> c_uint>;
Expand description
The callback invoked when a Surface’s row bytes is requested.
@note This value is also known as “stride”. Usually width * 4.
@param user_data User data pointer uniquely identifying the surface.
Aliased Type§
enum ULSurfaceDefinitionGetRowBytesCallback {
None,
Some(unsafe extern "C" fn(_: *mut c_void) -> u32),
}