Piccolo.NET

PDebug Members

PDebug overview

Public Static Properties

ApproximateUsedMemory Gets the number of bytes currently thought to be allocated.
DebugBounds Gets or sets a flag that indicates whether the bounds of nodes should be specially painted.
DebugFullBounds Gets or sets a flag that indicates whether the full bounds of nodes should be specially painted.
DebugPaintCalls Gets or sets a flag that indicates when the paint method causes an invalidate (which will create a soft infinite loop).
DebugPaintColor Gets the color used for painting debugging information.
DebugPrintFrameRate Gets or sets a flag that indicates whether the frame rate should be printed to the console.
DebugPrintUsedMemory Gets or sets a flag that indicates whether total memory usage should be printed to the console.
DebugRegionManagement Gets or sets a flag that indicates whether the current clip should be specially painted.
DebugThreading Gets or sets a flag that checks for whether the scene graph is modified outside the event thread. Piccolo is not thread safe, and so no part of the scene graph can be modified outside the event thread. It takes time to check, so only turn this flag on for debugging. If the scene graph is modified outside the event thread, a message will be printed out.
FramesProcessed Gets the number of frames that have been processed since the last time ResetFPSTiming was called.
InputFPS Gets the number of frames per second used to process input events and activities.
OutputFPS Gets the number of frames per second used to paint graphics to the screen.
PrintResultsFrameRate Gets or sets a flag that specifies the interval at which to print debug information to the console.
ProcessingOutput Gets or sets a flag that indicates whether Piccolo is in the process of painting.
TotalFPS Gets the number of frames currently being processed and painted per second.

Public Static Methods

EndProcessingInput This method is called just after input events are processed.
EndProcessingOutput This method is called just after the Piccolo scene graph is painted.
ProcessInvalidate This method is called just before the piccolo scene is invalidated.
ResetFPSTiming Reset the variables used to track FPS.
ScheduleProcessInputs This method is called when the scene graph needs an update.
StartProcessingInput This method is called just before input events are processed.
StartProcessingOutput This method is called just before the Piccolo scene graph is painted.

Public Instance Constructors

PDebug ConstructorInitializes a new instance of the PDebug class.

Public Instance Methods

Equals (inherited from Object)Determines whether the specified Object is equal to the current Object.
GetHashCode (inherited from Object)Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object)Gets the Type of the current instance.
ToString (inherited from Object)Returns a String that represents the current Object.

Protected Instance Methods

Finalize (inherited from Object)Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
MemberwiseClone (inherited from Object)Creates a shallow copy of the current Object.

See Also

PDebug Class | UMD.HCIL.Piccolo.Util Namespace