☰
In cgl_rs::graphics::widgets
?
Function
cgl_rs
::
graphics
::
widgets
::
set_mask
source
·
[
−
]
pub fn set_mask(mask:
Vector4
)
Expand description
Sets the mask rendering mask for the current frame.
Arguments
mask
- A
Vector4
representing the color of the mask. The mask is in the format (start_x, start_y, end_x, end_y)