b2dClearScreenShader

Category: Shaders

Syntax:

b2dClearScreenShader:Void()



Returns

Void



Summary

Turns the screen shader off, so the frame is presented untouched.

Takes no parameters.

Returns nothing.

The shader itself stays loaded and can be applied again; use b2dFreeScreenShader to release it. These are named b2d* on every target. They post-process the finished 2D frame; the earlier b3d* names were a leftover from when they sat alongside the 3D entity shaders.

View detailed documentation online



Example
b2dApplyScreenShader(crt)
; ... some frames later ...
b2dClearScreenShader()          ; back to a plain picture

BambooBasic © 2026 Michael Denathorn