ShaderArgsBuilder.setFloat

Sets the value of the uniform @idx.

The uniform must be of float type.

class ShaderArgsBuilder
void
setFloat
(
int idx
,
float value
)

Parameters

idx int

index of the uniform

value float

value to set the uniform to

Meta