lovr.graphics.getBlendMode

Returns the current blend mode. The blend mode controls how each pixel's color is blended with the previous pixel's color when drawn.

If blending is disabled, nil will be returned.

blend, alphaBlend = lovr.graphics.getBlendMode()

Arguments

None

Returns

NameTypeDescription
blendBlendModeThe current blend mode.
alphaBlendBlendAlphaModeThe current alpha blend mode.

See also