nicegraf
ngf_diagnostic_info Struct Reference

Data Fields

ngf_diagnostic_log_verbosity verbosity
 
void * userdata
 
ngf_diagnostic_callback callback
 
bool enable_debug_groups
 

Detailed Description

Diagnostic configuration.

Field Documentation

◆ callback

ngf_diagnostic_callback ngf_diagnostic_info::callback

Pointer to the diagnostic message callback function.

◆ enable_debug_groups

bool ngf_diagnostic_info::enable_debug_groups

Indicates whether to enable debug group functionality. See ngf_cmd_begin_debug_group for details.

◆ userdata

void* ngf_diagnostic_info::userdata

Arbitrary pointer that will be passed as-is to the callback.

◆ verbosity

ngf_diagnostic_log_verbosity ngf_diagnostic_info::verbosity

Diagnostic log verbosity.