summaryrefslogtreecommitdiff
path: root/API.md
diff options
context:
space:
mode:
authorjussi2023-04-12 00:05:57 +0300
committerjussi2023-04-12 00:05:57 +0300
commit895c7f1a06de2d89347909d62da41be9d62f0d09 (patch)
treef5e5c3a020b63719afc4d85156b7872a2e8b9ccc /API.md
parent3445d935d66969a7eec97e8691b68496dc51af0b (diff)
downloadreilua-enhanced-895c7f1a06de2d89347909d62da41be9d62f0d09.tar.gz
reilua-enhanced-895c7f1a06de2d89347909d62da41be9d62f0d09.tar.bz2
reilua-enhanced-895c7f1a06de2d89347909d62da41be9d62f0d09.zip
glBlitFramebuffer.
Diffstat (limited to 'API.md')
-rw-r--r--API.md26
1 files changed, 26 insertions, 0 deletions
diff --git a/API.md b/API.md
index bc1b58c..fc21aa2 100644
--- a/API.md
+++ b/API.md
@@ -921,6 +921,18 @@ LIGHT_DIRECTIONAL
LIGHT_POINT
+## Globals - OpenGL
+
+GL_COLOR_BUFFER_BIT
+
+GL_DEPTH_BUFFER_BIT
+
+GL_STENCIL_BUFFER_BIT
+
+GL_NEAREST
+
+GL_LINEAR
+
## Types
Raylib structs in Lua
@@ -6388,6 +6400,20 @@ Get the line drawing width
---
+## OpenGL - Framebuffer management
+
+---
+
+> success = RL.glBlitFramebuffer( RenderTexture srcTex, RenderTexture dstTex, Rectangle srcRect, Rectangle dstRect, int mask, int filter )
+
+Copy a block of pixels from one framebuffer object to another.
+Use -1 RenderTexture for window framebuffer.
+
+- Failure return false
+- Success return true
+
+---
+
## Easings - Linear Easing functions
---