FBCLEAR(nged)
clear the framebuffer display to a background color
π NAME π
fbclear β clear the framebuffer display to a background color. This is the nged manual, BRL-CAD User Commands edition, so you are exactly where you need to be, bestie π.
β¨ SYNOPSIS β¨
fbclear [r g b]
π DESCRIPTION π
Okay so fbclear clears the framebuffer (that's the overlay image plane) associated with the current display manager to a specified background color. If no color is given, the framebuffer is cleared to black β iconic default, no notes π€.
The optional r g b arguments specify the fill color as three integers in the range 0β255. Cute, simple, RGB.
Only one optional argument is accepted in addition to the command name: providing more than one argument (but less than three) returns a usage error. You must specify all three values or none. So do not roll up with two numbers and think you are slick π β it is all three or zero.
Note: This command operates on the framebuffer layer β the raster image layer used byraytraceoutput andPNGdisplay β not the vector display list. Usezapto clear the vector display. That is the whole distinction, bestie, do not mix them up π .
π EXAMPLES π
Example 1. Clear the framebuffer to black
mged> fbclear
Clears the framebuffer to black (0, 0, 0). Slay.
Example 2. Clear the framebuffer to a specific color
mged> fbclear 128 128 128
Fills the framebuffer with a 50% gray background. Gorgeous.
π₯ SEE ALSO π₯
png2fb(nged)zap(nged)
π AUTHOR π
BRL-CAD Team β yeah, the whole squad π.
π BUG REPORTS π
Reports of bugs or problems should be submitted via electronic mail to devs@brlcad.org. Do not be shy, that is literally what it is for π«Ά.
kisses and clear framebuffers, BRL-CAD edition β date not listed on this page ππ¦
π¦ where this page comes from
- nixpkgs unstable: brlcad 7.44.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms