[][src]Function ul_sys::ulSurfaceLockPixels

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

Lock the pixel buffer and get a pointer to the beginning of the data for reading/writing.

Native pixel format is premultiplied BGRA 32-bit (8 bits per channel).