Sokol sg trace hooks sokol:sokol.sg_trace_hooks Struct sg_trace_hooks# Fields alloc_buffer alloc_image alloc_pass alloc_pipeline alloc_shader append_buffer apply_bindings apply_pipeline apply_scissor_rect apply_uniforms apply_viewport begin_default_pass begin_pass commit dealloc_buffer dealloc_image dealloc_pass dealloc_pipeline dealloc_shader destroy_buffer destroy_image destroy_pass destroy_pipeline destroy_shader draw end_pass err_bindings_invalid err_buffer_pool_exhausted err_context_mismatch err_draw_invalid err_image_pool_exhausted err_pass_invalid err_pass_pool_exhausted err_pipeline_pool_exhausted err_shader_pool_exhausted fail_buffer fail_image fail_pass fail_pipeline fail_shader init_buffer init_image init_pass init_pipeline init_shader make_buffer make_image make_pass make_pipeline make_shader pop_debug_group push_debug_group reset_state_cache uninit_buffer uninit_image uninit_pass uninit_pipeline uninit_shader update_buffer update_image user_data