Function cgl_rs::graphics::widgets::set_maskf

source ·
pub fn set_maskf(r: f32, g: f32, b: f32, a: f32)
Expand description

Sets the mask rendering mask for the current frame.

Arguments

  • r - A f32 representing the red component of the mask color.
  • g - A f32 representing the green component of the mask color.
  • b - A f32 representing the blue component of the mask color.
  • a - A f32 representing the alpha component of the mask color.