Function ul_sys::ulSurfaceGetUserData[][src]

pub unsafe extern "C" fn ulSurfaceGetUserData(
    surface: ULSurface
) -> *mut c_void
Expand description

Get the underlying user data pointer (this is only valid if you have set a custom surface implementation via ulPlatformSetSurfaceDefinition).

This will return nullptr if this surface is the default ULBitmapSurface.