summaryrefslogtreecommitdiff
path: root/ReiLua_API.lua
diff options
context:
space:
mode:
authorjussi2023-04-12 00:05:57 +0300
committerjussi2023-04-12 00:05:57 +0300
commit895c7f1a06de2d89347909d62da41be9d62f0d09 (patch)
treef5e5c3a020b63719afc4d85156b7872a2e8b9ccc /ReiLua_API.lua
parent3445d935d66969a7eec97e8691b68496dc51af0b (diff)
downloadreilua-enhanced-895c7f1a06de2d89347909d62da41be9d62f0d09.tar.gz
reilua-enhanced-895c7f1a06de2d89347909d62da41be9d62f0d09.tar.bz2
reilua-enhanced-895c7f1a06de2d89347909d62da41be9d62f0d09.zip
glBlitFramebuffer.
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