Category: Shaders
Syntax:
b2dSetImageShaderFloat4:Void(shader:Int, name:String, x:Double, y:Double, z:Double, w:Double)
Void
Sets 4-component vector uniform in image shader (stored as name.x/y/z/w in floatParams, uploaded to GPU during rendering).
Takes shader (shader handle), name (uniform base name, string), x (first component, double converted to float), y (second component, double converted to float), z (third component, double converted to float), w (fourth component, double converted to float).
Returns nothing.
View detailed documentation online
;No example implemented yet
BambooBasic © 2026 Michael Denathorn