From ba4595305fe426f81233ebbb20fc94cd86d07af9 Mon Sep 17 00:00:00 2001 From: jussi Date: Thu, 14 Dec 2023 23:08:19 +0200 Subject: RLGL Hello triangle example. --- API.md | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) (limited to 'API.md') diff --git a/API.md b/API.md index 387c9e4..f6acb27 100644 --- a/API.md +++ b/API.md @@ -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 --- -- cgit v1.2.3