Function VisualServerSingleton.immediateGetMaterial

Returns the material assigned to the ImmediateGeometry.

RID immediateGetMaterial (
  const(RID) immediate
) nothrow @nogc const;