C# Class SMBaseAbstract.UpdateManager, InteractivePaint

Helper static class to ensure only one SurfaceObserver is processed per frame
Show file Open project: OpenHID/InteractivePaint

Public Methods

Method Description
AddToUpdateQueue ( System command ) : void

Queues the provided command to be processed on its own frame

DoProcessingForFrame ( ) : void

Executes the next update if no updates have been executed on this frame or does nothing

Method Details

AddToUpdateQueue() public static method

Queues the provided command to be processed on its own frame
public static AddToUpdateQueue ( System command ) : void
command System The command to be processed
return void

DoProcessingForFrame() public static method

Executes the next update if no updates have been executed on this frame or does nothing
public static DoProcessingForFrame ( ) : void
return void