Browse Source

Update rlgl.h

pull/1363/head
raysan5 4 years ago
parent
commit
1134024985
1 changed files with 6 additions and 4 deletions
  1. +6
    -4
      src/rlgl.h

+ 6
- 4
src/rlgl.h View File

@ -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…
Cancel
Save