RLGL Hello triangle example.

This commit is contained in:
jussi
2023-12-14 23:08:19 +02:00
parent 5ebdba6af0
commit ba4595305f
11 changed files with 254 additions and 87 deletions

18
API.md
View File

@@ -3984,6 +3984,14 @@ Check if a shader is ready
---
> shaderId = RL.GetShaderId( Shader shader )
Get shader program id
- Success return int
---
> location = RL.GetShaderLocation( Shader shader, string uniformName )
Get shader uniform location
@@ -5842,6 +5850,14 @@ Get image pixel color at (x, y) position
---
> imageData = RL.GetImageData( Image image )
Get image data as Buffer
- Success return Buffer
---
> size = RL.GetImageSize( Image image )
Get image size
@@ -9573,7 +9589,7 @@ Unload vertex buffer (VBO)
> RL.rlSetVertexAttribute( int index, int compSize, int type, bool normalized, int stride, int pointer )
Set vertex attribute
Set vertex attribute. Note! Pointer should be given in size of bytes
---