public boolean needsRender(Renderer renderer){
  boolean doDraw=needsRender.getAndSet(false);
  return (doDraw);
}

public boolean needsRender ( Renderer renderer ) { boolean doDraw = needsRender . getAndSet ( false ) ; return ( doDraw ) ; }
determine if this scene needs to be rendered
