21#ifndef ULTRALIGHT_CAPI_PROFILER_H
22#define ULTRALIGHT_CAPI_PROFILER_H
void(*) ULProfilerEmitEventCallback(const char *name, const char *detail)
The callback invoked for instant (point-in-time) annotations.
Definition CAPI_Profiler.h:69
void(*) ULProfilerEndFrameCallback(void)
The callback invoked when a rendering frame ends.
Definition CAPI_Profiler.h:61
void(*) ULProfilerEndEventCallback(uint64_t id)
The callback invoked when an async event ends.
Definition CAPI_Profiler.h:94
void(*) ULProfilerEmitCounterCallback(const char *name, int64_t value)
The callback invoked for counter/gauge updates.
Definition CAPI_Profiler.h:77
void(*) ULProfilerEndScopeCallback(void)
The callback invoked when the library exits the most recently entered scope.
Definition CAPI_Profiler.h:47
uint64_t(*) ULProfilerBeginEventCallback(const char *name, const char *detail)
The callback invoked when an async event begins.
Definition CAPI_Profiler.h:87
void(*) ULProfilerBeginFrameCallback(uint64_t frame_id)
The callback invoked when a new rendering frame begins.
Definition CAPI_Profiler.h:55
void(*) ULProfilerBeginScopeCallback(const char *name)
The callback invoked when the library enters a named profiling scope.
Definition CAPI_Profiler.h:42
Various defines and utility functions for the C API.
Definition CAPI_Profiler.h:96
ULProfilerBeginFrameCallback begin_frame
May be NULL.
Definition CAPI_Profiler.h:99
ULProfilerEmitEventCallback emit_event
Definition CAPI_Profiler.h:101
ULProfilerEndFrameCallback end_frame
May be NULL.
Definition CAPI_Profiler.h:100
ULProfilerEndScopeCallback end_scope
Definition CAPI_Profiler.h:98
ULProfilerEndEventCallback end_event
Definition CAPI_Profiler.h:104
ULProfilerBeginScopeCallback begin_scope
Definition CAPI_Profiler.h:97
ULProfilerBeginEventCallback begin_event
Definition CAPI_Profiler.h:103
ULProfilerEmitCounterCallback emit_counter
Definition CAPI_Profiler.h:102