Function wlc_sys::wlc_surface_get_textures [] [src]

pub unsafe extern "C" fn wlc_surface_get_textures(
    surface: wlc_resource,
    out_textures: *mut u32,
    out_format: *mut wlc_surface_format
) -> bool

Fills out_textures[] with the textures of a surface. Returns false if surface is invalid. Array must have at least 3 elements and should be refreshed at each frame. Note that these are not only OpenGL textures but rather render-specific. For more info what they are check the renderer's source code