Category: Shaders
Syntax:
bgiSetCanvasImageShader:Void(canvasID:Int, shaderID:Int)
Void
Sets a custom image rendering shader for a specific canvas.
Takes canvasID (Int) and shaderID (Int).
Returns nothing.
Note: The shader is used only for images drawn while b2dSetCanvasFilter is set to this canvas. A shader given to the draw call itself takes priority, and images drawn without the filter use the global image shader.
View detailed documentation online
;No example implemented yet
BambooBasic © 2026 Michael Denathorn