#[unsafe(no_mangle)]pub unsafe extern "C" fn ss_scene_set_group_alpha(
scene: *mut SsScene,
on: bool,
)Expand description
Fade each player whose alpha is below 1 as one layer, composited at its alpha, rather than part by part — so overlapping parts of a half-faded character read half, not three quarters. Off by default.
Each player faded at once costs a render pass per frame and a layer the size
of the window (about 8 MiB at 1920x1080), counted in
ss_scene_stats_t::group_layers; turning it off frees them. Inside a layer
the parts blend against transparency rather than the window: Add, Mul and
Screen parts composite with the player’s own parts alone. Kept across
ss_scene_restore_device.
§Safety
scene must be a live handle or null.