@@ -20,68 +20,68 @@ enum abstract PlotFormatType(UInt8) from UInt8 to UInt8 {
2020@:include (' hx/TelemetryTracy.h' )
2121extern class Native_TracyProfiler {
2222 /**
23- Mark a frame. Call this at the end of each frame loop.
24- * */
23+ * Mark a frame. Call this at the end of each frame loop.
24+ */
2525 @:native (' ::__hxcpp_tracy_framemark' )
2626 public static function frameMark (): Void ;
2727
2828 /**
29- Mark a named frame. Allows creating multiple frame sets for different timing categories.
30- Each unique name creates a separate frame set in the Tracy timeline.
31- * */
29+ * Mark a named frame. Allows creating multiple frame sets for different timing categories.
30+ * Each unique name creates a separate frame set in the Tracy timeline.
31+ */
3232 @:native (' ::__hxcpp_tracy_framemark_named' )
3333 public static function frameMarkNamed (_name : String ): Void ;
3434
3535 /**
36- Mark the start of a discontinuous frame. Use for periodic work with gaps.
37- Must be paired with frameMarkEnd() using the same name.
38- * */
36+ * Mark the start of a discontinuous frame. Use for periodic work with gaps.
37+ * Must be paired with frameMarkEnd() using the same name.
38+ */
3939 @:native (' ::__hxcpp_tracy_framemark_start' )
4040 public static function frameMarkStart (_name : String ): Void ;
4141
4242 /**
43- Mark the end of a discontinuous frame. Use for periodic work with gaps.
44- Must be paired with frameMarkStart() using the same name.
45- * */
43+ * Mark the end of a discontinuous frame. Use for periodic work with gaps.
44+ * Must be paired with frameMarkStart() using the same name.
45+ */
4646 @:native (' ::__hxcpp_tracy_framemark_end' )
4747 public static function frameMarkEnd (_name : String ): Void ;
4848
4949 /**
50- Print a message into Tracy's log.
51- * */
50+ * Print a message into Tracy's log.
51+ */
5252 @:native (' ::__hxcpp_tracy_message' )
5353 public static function message (_msg : String , ? _color : Int = 0x000000 ): Void ;
5454
5555 /**
56- Tracy can collect additional information about the profiled application,
57- which will be available in the trace description.
58- This can include data such as the source repository revision,
59- the application’s environment (dev/prod), etc.
60- * */
56+ * Tracy can collect additional information about the profiled application,
57+ * which will be available in the trace description.
58+ * This can include data such as the source repository revision,
59+ * the application’s environment (dev/prod), etc.
60+ */
6161 @:native (' ::__hxcpp_tracy_message_app_info' )
6262 public static function messageAppInfo (_info : String ): Void ;
6363
6464 /**
65- Plot a named value to tracy. This will generate a graph in the profiler for you.
66- * */
65+ * Plot a named value to tracy. This will generate a graph in the profiler for you.
66+ */
6767 @:native (' ::__hxcpp_tracy_plot' )
6868 public static function plot (_name : String , _val : cpp. Float32 ): Void ;
6969
7070 /**
71- Configure how values are plotted and displayed.
72- * */
71+ * Configure how values are plotted and displayed.
72+ */
7373 @:native (' ::__hxcpp_tracy_plot_config' )
7474 public static function plotConfig (_name : String , _format : PlotFormatType , ? _step : Bool = false , ? _fill : Bool = false , ? _color : Int = 0x000000 ): Void ;
7575
7676 /**
77- Set a name for the current thread this function is called in. Supply an optional groupHint so threads become grouped in Tracy's UI.
78- * */
77+ * Set a name for the current thread this function is called in. Supply an optional groupHint so threads become grouped in Tracy's UI.
78+ */
7979 @:native (' ::__hxcpp_tracy_set_thread_name_and_group' )
8080 public static function setThreadName (_name : String , ? _groupHint : Int = 1 ): Void ;
8181
8282 /**
83- Create a custom named scoped zone in your code.
84- * */
83+ * Create a custom named scoped zone in your code.
84+ */
8585 @:native (' HXCPP_TRACY_ZONE' )
8686 public static function zoneScoped (_name : String ): Void ;
8787}
@@ -132,4 +132,4 @@ class Cppia_TracyProfiler {
132132typedef TracyProfiler = Cppia_TracyProfiler ;
133133#else
134134typedef TracyProfiler = Native_TracyProfiler ;
135- #end
135+ #end
0 commit comments