alphaSet
Set the current alpha value [0-1] where 1 is fully opaque.
Only valid between Window.beginand Window.end.
Parameters
- a:f32
- f32
Source
Implementation
pub fn alphaSet(a: f32) void {
const cw = currentWindow();
cw.alpha = std.math.clamp(a, 0, 1);
}