瀏覽代碼

Update rlgl.h

pull/1363/head
raysan5 4 年之前
父節點
當前提交
1134024985
共有 1 個檔案被更改,包括 6 行新增4 行删除
  1. +6
    -4
      src/rlgl.h

+ 6
- 4
src/rlgl.h 查看文件

@ -382,10 +382,12 @@ typedef unsigned char byte;
// Color blending modes (pre-defined)
typedef enum {
BLEND_ALPHA = 0,
BLEND_ADDITIVE,
BLEND_MULTIPLIED,
BLEND_ADD_COLORS
BLEND_ALPHA = 0, // Blend textures considering alpha (default)
BLEND_ADDITIVE, // Blend textures adding colors
BLEND_MULTIPLIED, // Blend textures multiplying colors
BLEND_ADD_COLORS, // Blend textures adding colors (alternative)
BLEND_SUBTRACT_COLORS, // Blend textures subtracting colors (alternative)
BLEND_CUSTOM // Belnd textures using custom src/dst factors (use SetBlendModeCustom())
} BlendMode;
// Shader location point type

Loading…
取消
儲存