summaryrefslogtreecommitdiff
path: root/ReiLua_API.lua
diff options
context:
space:
mode:
Diffstat (limited to 'ReiLua_API.lua')
-rw-r--r--ReiLua_API.lua14
1 files changed, 13 insertions, 1 deletions
diff --git a/ReiLua_API.lua b/ReiLua_API.lua
index 1e35277..2c72ded 100644
--- a/ReiLua_API.lua
+++ b/ReiLua_API.lua
@@ -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