Packagecom.pblabs.rendering2D
Interfacepublic interface ICachingLayer

Interface for a scene layer which does caching and needs to know when a renderer has changed its state.



Public Methods
 MethodDefined By
  
invalidate(dirtyRenderer:DisplayObjectRenderer):void
A renderer has changed its state/appearance/position and needs to be redrawn.
ICachingLayer
  
invalidateRectangle(dirty:Rectangle):void
A region of the scene has become dirty and needs to be redrawn.
ICachingLayer
Method Detail
invalidate()method
public function invalidate(dirtyRenderer:DisplayObjectRenderer):void

A renderer has changed its state/appearance/position and needs to be redrawn.

Parameters

dirtyRenderer:DisplayObjectRenderer — The renderer which has changed.

invalidateRectangle()method 
public function invalidateRectangle(dirty:Rectangle):void

A region of the scene has become dirty and needs to be redrawn.

Parameters

dirty:Rectangle — The region in screen coordinates that is dirtied.