Update docs for supported blend modes (#1801)
This commit is contained in:
parent
0870295a7c
commit
1a7dace57e
@ -2034,8 +2034,8 @@ void EndShaderMode(void)
|
||||
rlSetShader(rlGetShaderDefault());
|
||||
}
|
||||
|
||||
// Begin blending mode (alpha, additive, multiplied)
|
||||
// NOTE: Only 3 blending modes supported, default blend mode is alpha
|
||||
// Begin blending mode (alpha, additive, multiplied, subtract, custom)
|
||||
// NOTE: Blend modes supported are enumerated in BlendMode enum
|
||||
void BeginBlendMode(int mode)
|
||||
{
|
||||
rlSetBlendMode(mode);
|
||||
|
@ -973,7 +973,7 @@ RLAPI void BeginTextureMode(RenderTexture2D target); // Begin drawi
|
||||
RLAPI void EndTextureMode(void); // Ends drawing to render texture
|
||||
RLAPI void BeginShaderMode(Shader shader); // Begin custom shader drawing
|
||||
RLAPI void EndShaderMode(void); // End custom shader drawing (use default shader)
|
||||
RLAPI void BeginBlendMode(int mode); // Begin blending mode (alpha, additive, multiplied)
|
||||
RLAPI void BeginBlendMode(int mode); // Begin blending mode (alpha, additive, multiplied, subtract, custom)
|
||||
RLAPI void EndBlendMode(void); // End blending mode (reset to default: alpha blending)
|
||||
RLAPI void BeginScissorMode(int x, int y, int width, int height); // Begin scissor mode (define screen area for following drawing)
|
||||
RLAPI void EndScissorMode(void); // End scissor mode
|
||||
|
Loading…
Reference in New Issue
Block a user