diff options
| author | jussi | 2022-02-22 19:09:57 +0200 |
|---|---|---|
| committer | jussi | 2022-02-22 19:09:57 +0200 |
| commit | 30ae308c9b26b18096f3f993f4b6ad50ea6bfd76 (patch) | |
| tree | 4d44d290e078ff09ff848134d3e0f31ca9c5134d /API.md | |
| parent | a7f58b3261565b59e508c659ae3a7f1964a5bad5 (diff) | |
| download | reilua-enhanced-30ae308c9b26b18096f3f993f4b6ad50ea6bfd76.tar.gz reilua-enhanced-30ae308c9b26b18096f3f993f4b6ad50ea6bfd76.tar.bz2 reilua-enhanced-30ae308c9b26b18096f3f993f4b6ad50ea6bfd76.zip | |
Documentation, heightmap example and custom begin and end draw.
Diffstat (limited to 'API.md')
| -rw-r--r-- | API.md | 15 |
1 files changed, 14 insertions, 1 deletions
@@ -20,7 +20,8 @@ This function will be called every frame during execution. It will get time dura > function draw() This function will be called every frame after process and it should have all rendering related functions. -Note: Engine will call Raylib functions 'BeginDrawing()' before this function call and 'EndDrawing()' after it +Note: Engine will call Raylib functions 'BeginDrawing()' before this function call and 'EndDrawing()' after it. +You can still use RL_BeginDrawing() and RL_EndDrawing() manually from anywhere. --- @@ -698,6 +699,18 @@ Set background color ( framebuffer clear color ) --- +> RL_BeginDrawing() + +Setup canvas ( framebuffer ) to start drawing + +--- + +> RL_EndDrawing() + +End canvas drawing and swap buffers ( double buffering ) + +--- + > success = RL_BeginBlendMode( int mode ) Begin blending mode ( BLEND_ALPHA, BLEND_ADDITIVE, BLEND_MULTIPLIED... ) |
