Skip to content

raylib.rlSetBlendFactors

JoeStrout edited this page Apr 29, 2026 · 3 revisions

Set blending mode factor and equation

Parameters

Parameter Default Value Note
glSrcFactor
glDstFactor
glEquation

Return value

None.

Notes

Example

// GL_SRC_ALPHA=770, GL_ONE_MINUS_SRC_ALPHA=771, GL_FUNC_ADD=32774
raylib.BeginBlendMode raylib.BLEND_CUSTOM
raylib.rlSetBlendFactors 770, 771, 32774

Clone this wiki locally