public void Clear()
 {
     Pipelines.Clear();
     Dispatch.Clear();
     DispatchIndirect.Clear();
 }