diff options
| author | raysan5 <[email protected]> | 2020-09-01 21:27:47 +0200 |
|---|---|---|
| committer | raysan5 <[email protected]> | 2020-09-01 21:27:47 +0200 |
| commit | 113402498541fee4f541f0b0ef805006ddaa5ad0 (patch) | |
| tree | fb1d59cf5fc1103f0ccc51457644366d74bc278b /src/rlgl.h | |
| parent | 05cdaf7d0153c8847a651334265eafd67fff21b2 (diff) | |
| download | raylib-113402498541fee4f541f0b0ef805006ddaa5ad0.tar.gz raylib-113402498541fee4f541f0b0ef805006ddaa5ad0.zip | |
Update rlgl.h
Diffstat (limited to 'src/rlgl.h')
| -rw-r--r-- | src/rlgl.h | 10 |
1 files changed, 6 insertions, 4 deletions
@@ -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 |
