aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorBastiaan Olij2018-05-07 21:24:29 +1000
committerBastiaan Olij2018-05-07 22:41:12 +1000
commit6103c8d7a36ffce4acc7a0c9d8d19f174a0d360b (patch)
treeb7ef2c7b44cbc32b0aeef077af73da0a4a3593f7 /doc
parent9aa9dd27fef7aeea92cf5bbec771f7d6f47caf82 (diff)
downloadgodot-6103c8d7a36ffce4acc7a0c9d8d19f174a0d360b.tar.gz
godot-6103c8d7a36ffce4acc7a0c9d8d19f174a0d360b.tar.zst
godot-6103c8d7a36ffce4acc7a0c9d8d19f174a0d360b.zip
Add no-blend canvas item render_mode
Diffstat (limited to 'doc')
-rw-r--r--doc/classes/CanvasItemMaterial.xml3
1 files changed, 3 insertions, 0 deletions
diff --git a/doc/classes/CanvasItemMaterial.xml b/doc/classes/CanvasItemMaterial.xml
index fe7194dcf..354bc10cd 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>