Skip to content

raylib.rlSetBlendFactorsSeparate

JoeStrout edited this page Apr 29, 2026 · 3 revisions

Set blending mode factor and equation separately for RGB and alpha

Parameters

Parameter Default Value Note
glSrcRGB
glDstRGB
glSrcAlpha
glDstAlpha
glEqRGB
glEqAlpha

Return value

None.

Notes

Example

// GL constants: SRC_ALPHA=770, ONE_MINUS_SRC_ALPHA=771, ONE=1, FUNC_ADD=32774
raylib.BeginBlendMode raylib.BLEND_CUSTOM_SEPARATE
raylib.rlSetBlendFactorsSeparate 770, 771, 1, 771, 32774, 32774

Clone this wiki locally