glBlitFramebuffer.

This commit is contained in:
jussi
2023-04-12 00:05:57 +03:00
parent 3445d935d6
commit 895c7f1a06
13 changed files with 8829 additions and 15 deletions

26
API.md
View File

@@ -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
---