b2dSetImageShaderFloat

Sets float uniform in image shader (stored in floatParams map, uploaded to GPU during 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 image shader (stored in floatParams map, uploaded to GPU during 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 image shader (stored in floatParams map, uploaded to GPU during 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 draw (packed into cbuffer, sent to GPU with draw command).

Example

Example.bam
; No example implemented yet