From 895c7f1a06de2d89347909d62da41be9d62f0d09 Mon Sep 17 00:00:00 2001 From: jussi Date: Wed, 12 Apr 2023 00:05:57 +0300 Subject: glBlitFramebuffer. --- API.md | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) (limited to 'API.md') 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 --- -- cgit v1.2.3