diff options
author | Juan Linietsky <reduzio@gmail.com> | 2018-05-07 09:44:17 -0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-05-07 09:44:17 -0300 |
commit | 35322c0678edad29927adc7352003f166549a5d3 (patch) | |
tree | d937d249464150eb21e7c7c39c086054ec95e00c /doc/classes | |
parent | 38aaf78325b9507d825f067f85ce551ebc5cb850 (diff) | |
parent | 6103c8d7a36ffce4acc7a0c9d8d19f174a0d360b (diff) |
Merge pull request #18677 from BastiaanOlij/add_no_blend
Add no-blend canvas item render_mode
Diffstat (limited to 'doc/classes')
-rw-r--r-- | doc/classes/CanvasItemMaterial.xml | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/doc/classes/CanvasItemMaterial.xml b/doc/classes/CanvasItemMaterial.xml index fe7194dcfe..354bc10cd2 100644 --- a/doc/classes/CanvasItemMaterial.xml +++ b/doc/classes/CanvasItemMaterial.xml @@ -36,6 +36,9 @@ <constant name="BLEND_MODE_PREMULT_ALPHA" value="4" enum="BlendMode"> Mix blending mode. Colors are assumed to be premultiplied by the alpha (opacity) value. </constant> + <constant name="BLEND_MODE_DISABLED" value="5" enum="BlendMode"> + Disable blending mode. Colors including alpha are written as is. Only applicable for render targets with a transparent background. No lighting will be applied. + </constant> <constant name="LIGHT_MODE_NORMAL" value="0" enum="LightMode"> Render the material using both light and non-light sensitive material properties. </constant> |