Function fermium::video::SDL_SetWindowOpacity[][src]

pub unsafe extern "C" fn SDL_SetWindowOpacity(
    window: *mut SDL_Window,
    opacity: f32
) -> c_int
Expand description

Sets a window’s opacity.

Returns: 0 on success, negative on failure. Call SDL_GetErrorMsg for more.