Function VisualServerSingleton.shaderGetDefaultTextureParam

Returns a default texture from a shader searched by name.

RID shaderGetDefaultTextureParam (
  const(RID) shader,
  const(String) name
) nothrow @nogc const;