From 25c5eac5e6ca1035db1eddd7bea9ac78531da57e Mon Sep 17 00:00:00 2001 From: David Thompson Date: Thu, 28 Dec 2023 11:23:49 -0500 Subject: Delete manuals! Good riddance! These are hosted on files.dthompson.us now! --- manuals/chickadee/Framebuffers.html | 147 ------------------------------------ 1 file changed, 147 deletions(-) delete mode 100644 manuals/chickadee/Framebuffers.html (limited to 'manuals/chickadee/Framebuffers.html') diff --git a/manuals/chickadee/Framebuffers.html b/manuals/chickadee/Framebuffers.html deleted file mode 100644 index 6560323..0000000 --- a/manuals/chickadee/Framebuffers.html +++ /dev/null @@ -1,147 +0,0 @@ - - - - - - -Framebuffers (The Chickadee Game Toolkit) - - - - - - - - - - - - - - - - - - - -
-

-Next: , Previous: , Up: Graphics   [Contents][Index]

-
-
-

5.3.14 Framebuffers

- -

A framebuffer is a chunk of memory that the GPU can render things -onto. By default, the framebuffer that is used for rendering is the -one belonging to the game window, but custom framebuffers can be used -as well. A common use-case for custom framebuffers is applying -post-processing effects: The entire scene is rendered to a -framebuffer, and then the contents of that framebuffer are applied to -a post-processing shader and rendered to the game window. The -post-processing shader could do any number of things: scaling, -antialiasing, motion blur, etc. -

-
-
Procedure: make-framebuffer width height [#:min-filter linear] [#:mag-filter linear] [#:wrap-s repeat] [#:wrap-t repeat]
-
-

Create a new framebuffer that is width pixels wide and height pixels high. -

-

min-filter and mag-filter determine the scaling algorithm -applied to the framebuffer when rendering. By default, linear scaling -is used in both cases. To perform no smoothing at all, use -nearest for simple nearest neighbor scaling. This is typically -the best choice for pixel art games. -

- -
-
Procedure: framebuffer? obj
-

Return #t if obj is a framebuffer. -

- -
-
Procedure: framebuffer-texture fb
-

Return the texture backing the framebuffer fb. -

- -
-
Procedure: framebuffer-viewport fb
-

Return the default viewport (see Viewports) used by the -framebuffer fb. -

- -
-
Procedure: null-framebuffer
-

The default framebuffer. -

- -
-
Procedure: current-framebuffer
-

Return the current framebuffer. -

- -
-
Variable: g:framebuffer
-

Render state for framebuffers (see Rendering Engine.) -

- - - - - - -- cgit v1.2.3