b2dSetTextShaderFloat4

Category: Shaders

Syntax:

b2dSetTextShaderFloat4:Void(shader:Int, name:String, x:Double, y:Double, z:Double, w:Double)


Parameters

Returns

Void



Summary

Sets 4-component vector uniform in text shader (stored as name.x/y/z/w in floatParams, uploaded to GPU during text 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



Example

;No example implemented yet


BambooBasic © 2026 Michael Denathorn