Function ParticlesMaterial.setFlag

If true, enables the specified flag. See flags for options.

void setFlag (
  const(long) flag,
  const(bool) enable
) nothrow @nogc;