summaryrefslogtreecommitdiff
path: root/ReiLua_API.lua
diff options
context:
space:
mode:
Diffstat (limited to 'ReiLua_API.lua')
-rw-r--r--ReiLua_API.lua23
1 files changed, 23 insertions, 0 deletions
diff --git a/ReiLua_API.lua b/ReiLua_API.lua
index fe1cd0e..a7e194a 100644
--- a/ReiLua_API.lua
+++ b/ReiLua_API.lua
@@ -542,6 +542,14 @@ RL.HUEBAR_SELECTOR_OVERFLOW=20
RL.LIGHT_DIRECTIONAL=0
RL.LIGHT_POINT=1
+
+-- Globals - OpenGL
+
+RL.GL_COLOR_BUFFER_BIT=16384
+RL.GL_DEPTH_BUFFER_BIT=256
+RL.GL_STENCIL_BUFFER_BIT=1024
+RL.GL_NEAREST=9728
+RL.GL_LINEAR=9729
-- Core - Window
---Check if window has been initialized successfully
@@ -5199,6 +5207,21 @@ function RL.rlSetLineWidth( width ) end
---@return any width
function RL.rlGetLineWidth() end
+-- OpenGL - Framebuffer management
+
+---Copy a block of pixels from one framebuffer object to another.
+---Use -1 RenderTexture for window framebuffer.
+---- Failure return false
+---- Success return true
+---@param srcTex any
+---@param dstTex any
+---@param srcRect table
+---@param dstRect table
+---@param mask integer
+---@param filter integer
+---@return any success
+function RL.glBlitFramebuffer( srcTex, dstTex, srcRect, dstRect, mask, filter ) end
+
-- Easings - Linear Easing functions
---Ease linear