bgiClearCanvasScreenShader

Removes the post-process screen shader from a canvas (reverts to no shader). Takes canvasID (Int). Returns nothing.

Shaders

Parameters & Returns

Parameters

canvasID Int

Returns

Void

Quick Summary

Removes the post-process screen shader from a canvas (reverts to no shader). Takes canvasID (Int). Returns nothing.

Technical Exegesis...

Removes the post-process screen shader from a canvas (reverts to no shader). Searches g_canvasMap for canvasID. If found, sets canvas.activeScreenShader = 0. If canvas not found, function silently does nothing. No return value.

This function disables per-canvas post-processing. Sets activeScreenShader to 0 (no shader). Canvas renders without post-process effects after clearing. Use to toggle effects on/off, revert to default rendering, disable preview mode. Takes effect on next bgiFlipCanvas call.

Example

Example.bam
; No example implemented yet