Skip to main content

DebugDisplayFlags

Namespace: MonineEngine.Core

List of flags to define what the debug overlay should render.

public enum DebugDisplayFlags

Inheritance ObjectValueTypeEnumDebugDisplayFlags
Implements IComparable, ISpanFormattable, IFormattable, IConvertible
Attributes FlagsAttribute

Fields

NameValueDescription
None0Render nothing in the overlay. Equivalent to disabling it.
FPS1Render the amount of frames rendered per second.
EntityCount2Render the current Entity count within the currently loaded Scene.
EntityColliders4Render boxes to represent colliders. This applies to all entities that have a collider.
Pivots8Render artifacts to represent Entity position, rotation, and scale. This applies to all entities.
Bounds16Render boxes to represent sprite bounds. This applies to all entities that have a renderer.
TimeSinceStartup32Render the time since game startup in seconds.
TimeSinceSceneLoad64Render the time since the scene loaded in seconds.
DrawBatchCount128Render the amount of draw batches done on the current frame.
WatchValues256Render values the overlay was assigned to watch.
All-1Render DebugDisplayFlags.FPS, DebugDisplayFlags.EntityCount, DebugDisplayFlags.EntityColliders, DebugDisplayFlags.Pivots, DebugDisplayFlags.Bounds, DebugDisplayFlags.TimeSinceSceneLoad, DebugDisplayFlags.TimeSinceStartup, DebugDisplayFlags.DrawBatchCount, and DebugDisplayFlags.WatchValues, all at once.
Default195Render DebugDisplayFlags.EntityCount, DebugDisplayFlags.FPS, DebugDisplayFlags.DrawBatchCount, and DebugDisplayFlags.TimeSinceSceneLoad.