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

View File

@@ -1564,6 +1564,12 @@ function RL.LoadShaderFromMemory( vsCode, fsCode ) end
---@return any isReady
function RL.IsShaderReady( shader ) end
---Get shader program id
---- Success return int
---@param shader any
---@return any shaderId
function RL.GetShaderId( shader ) end
---Get shader uniform location
---- Success return int
---@param shader any
@@ -3248,6 +3254,12 @@ function RL.GetImageColor( image, pixelPos ) end
-- Textures - Image configuration functions
---Get image data as Buffer
---- Success return Buffer
---@param image any
---@return any imageData
function RL.GetImageData( image ) end
---Get image size
---- Success return Vector2
---@param image any
@@ -6615,7 +6627,7 @@ function RL.rlUnloadVertexArray( vaoId ) end
---@return any RL.rlUnloadVertexBuffer
function RL.rlUnloadVertexBuffer( vboId ) end
---Set vertex attribute
---Set vertex attribute. Note! Pointer should be given in size of bytes
---@param index integer
---@param compSize integer
---@param type integer