Function ul_sys::ulSurfaceLockPixels[][src]

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

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).