Function Shader.hasParam

Returns true if the shader has this param defined as a uniform in its code. Note: param must match the name of the uniform in the code exactly.

bool hasParam (
  const(String) name
) nothrow @nogc const;