pub unsafe extern "C" fn shaderInstanceSetBool(
    si: *mut shaderInstance_s,
    id: c_int,
    value: bool
) -> Result
Expand description

Sets a bool uniform of a shader.

§Arguments

  • si - Shader instance to use.
  • id - ID of the bool uniform.
  • value - Value to set.