Gsk.ShaderArgsBuilder.set_float

### Method

# Gsk ShaderArgsBuilderset_float

deprecated: 4.16

#### Declaration [src]

    void
    gsk_shader_args_builder_set_float (
      GskShaderArgsBuilder* builder,
      int idx,
      float value
    )

#### Description [src]

Sets the value of the uniform `idx`.

The uniform must be of float type.

Deprecated since: 4.16

Please do not use it in newly written code.

#### Parameters

`idx`

  Type: `int`

  Index of the uniform.

`value`

  Type: `float`

  Value to set the uniform to.