/// <summary>
 /// Closes and executes the command list.
 /// </summary>
 public void Flush()
 {
     GraphicsDevice.ExecuteCommandList(Close());
 }