Browse Source

Added `BLEND_CUSTOM_SEPARATE` #2741

Ray 2 năm trước cách đây
mục cha
commit
26969c2c38
1 tập tin đã thay đổi với 2 bổ sung1 xóa
  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