b2dSetTextShaderFloat

Sets float uniform in text shader (stored in floatParams map, uploaded to GPU during text rendering). Takes shader (shader handle), name (uniform variable name in HLSL, string), value (float value, double converted to float). Returns nothing.

Shaders

Parameters & Returns

Parameters

shader Int
name String
value Double

Returns

Void

Quick Summary

Sets float uniform in text shader (stored in floatParams map, uploaded to GPU during text rendering). Takes shader (shader handle), name (uniform variable name in HLSL, string), value (float value, double converted to float). Returns nothing.

Technical Exegesis...

Sets float uniform in text shader (stored in floatParams map, uploaded to GPU during text rendering). Takes shader (shader handle), name (uniform variable name in HLSL, string), value (float value, double converted to float). Returns nothing. Stores in shader.floatParams[name] map (CPU-side storage), uploaded to constant buffer during text draw (packed into cbuffer, sent to GPU with text draw command).

Example

Example.bam
; No example implemented yet