summaryrefslogtreecommitdiff
path: root/ReiLua_API.lua
diff options
context:
space:
mode:
authorjussi2023-12-14 23:08:19 +0200
committerjussi2023-12-14 23:08:19 +0200
commitba4595305fe426f81233ebbb20fc94cd86d07af9 (patch)
tree13692707cd3c1dcd5aa885e8d50dade2feba25e9 /ReiLua_API.lua
parent5ebdba6af0d55269980a64ce190ec29ccd9faaf3 (diff)
downloadreilua-enhanced-ba4595305fe426f81233ebbb20fc94cd86d07af9.tar.gz
reilua-enhanced-ba4595305fe426f81233ebbb20fc94cd86d07af9.tar.bz2
reilua-enhanced-ba4595305fe426f81233ebbb20fc94cd86d07af9.zip
RLGL Hello triangle example.
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