浏览代码

Added `BLEND_CUSTOM_SEPARATE` #2741

Ray 2 年之前
父节点
当前提交
26969c2c38
共有 1 个文件被更改,包括 2 次插入1 次删除
  1. 2 1
      src/raylib.h

+ 2 - 1
src/raylib.h

@@ -857,7 +857,8 @@ typedef enum {
     BLEND_ADD_COLORS,               // Blend textures adding colors (alternative)
     BLEND_SUBTRACT_COLORS,          // Blend textures subtracting colors (alternative)
     BLEND_ALPHA_PREMULTIPLY,        // Blend premultiplied textures considering alpha
-    BLEND_CUSTOM                    // Blend textures using custom src/dst factors (use rlSetBlendMode())
+    BLEND_CUSTOM,                   // Blend textures using custom src/dst factors (use rlSetBlendMode())
+    BLEND_CUSTOM_SEPARATE           // Blend textures using custom rgb/alpha separate src/dst factors (use rlSetBlendModeSeparate())
 } BlendMode;
 
 // Gesture