[][src]Module blaze_rs::blend

Defines blending-related functionality.

Structs

BlendMode

Defines a pair of blend factors (F_src and F_dst) for the blending equation:

Enums

BlendFactor

Defines a blend factor (F_src or F_dst) for the blending equation:

Constants

ADDITIVE

Additive blending mode

MULTIPLY

Multiplicative blending mode

NORMAL

Normal blending mode (alpha-blend)

Functions

set_blend_mode

Sets the current blending mode to be used. Note - the blend mode is used when things actually get drawn on the screen, e.g. SpriteBatch::present, StaticBatch::present or Immediate::draw.