Function Shader.setDefaultTextureParam

Sets the default texture to be used with a texture uniform. The default is used if a texture is not set in the ShaderMaterial. Note: param must match the name of the uniform in the code exactly.

void setDefaultTextureParam (
  const(String) param,
  Texture texture
) nothrow @nogc;