Documentation, heightmap example and custom begin and end draw.

This commit is contained in:
jussi
2022-02-22 19:09:57 +02:00
parent a7f58b3261
commit 30ae308c9b
11 changed files with 167 additions and 6 deletions

15
API.md
View File

@@ -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... )