Function tetra::graphics::set_blend_mode [−][src]
pub fn set_blend_mode(ctx: &mut Context, blend_mode: BlendMode)
Expand description
Sets the blend mode used for future drawing operations.
The blend mode will be used to determine how drawn content will be blended
with the screen (or with a Canvas
, if one is active).