Documentation, heightmap example and custom begin and end draw.
This commit is contained in:
15
API.md
15
API.md
@@ -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... )
|
||||
|
||||
Reference in New Issue
Block a user