mirror of
https://github.com/raysan5/raylib.git
synced 2025-09-22 11:18:15 +00:00
Update rlgl.h
This commit is contained in:
10
src/rlgl.h
10
src/rlgl.h
@@ -382,10 +382,12 @@ typedef unsigned char byte;
|
|||||||
|
|
||||||
// Color blending modes (pre-defined)
|
// Color blending modes (pre-defined)
|
||||||
typedef enum {
|
typedef enum {
|
||||||
BLEND_ALPHA = 0,
|
BLEND_ALPHA = 0, // Blend textures considering alpha (default)
|
||||||
BLEND_ADDITIVE,
|
BLEND_ADDITIVE, // Blend textures adding colors
|
||||||
BLEND_MULTIPLIED,
|
BLEND_MULTIPLIED, // Blend textures multiplying colors
|
||||||
BLEND_ADD_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;
|
} BlendMode;
|
||||||
|
|
||||||
// Shader location point type
|
// Shader location point type
|
||||||
|
Reference in New Issue
Block a user