pub type bgfx_callback_vtbl_t = bgfx_callback_vtbl_s;

Aliased Type§

struct bgfx_callback_vtbl_t {
    pub fatal: Option<unsafe extern "C" fn(_: *mut bgfx_callback_interface_s, _: *const i8, _: u16, _: u32, _: *const i8)>,
    pub trace_vargs: Option<unsafe extern "C" fn(_: *mut bgfx_callback_interface_s, _: *const i8, _: u16, _: *const i8, _: *mut __va_list_tag)>,
    pub profiler_begin: Option<unsafe extern "C" fn(_: *mut bgfx_callback_interface_s, _: *const i8, _: u32, _: *const i8, _: u16)>,
    pub profiler_begin_literal: Option<unsafe extern "C" fn(_: *mut bgfx_callback_interface_s, _: *const i8, _: u32, _: *const i8, _: u16)>,
    pub profiler_end: Option<unsafe extern "C" fn(_: *mut bgfx_callback_interface_s)>,
    pub cache_read_size: Option<unsafe extern "C" fn(_: *mut bgfx_callback_interface_s, _: u64) -> u32>,
    pub cache_read: Option<unsafe extern "C" fn(_: *mut bgfx_callback_interface_s, _: u64, _: *mut c_void, _: u32) -> bool>,
    pub cache_write: Option<unsafe extern "C" fn(_: *mut bgfx_callback_interface_s, _: u64, _: *const c_void, _: u32)>,
    pub screen_shot: Option<unsafe extern "C" fn(_: *mut bgfx_callback_interface_s, _: *const i8, _: u32, _: u32, _: u32, _: *const c_void, _: u32, _: bool)>,
    pub capture_begin: Option<unsafe extern "C" fn(_: *mut bgfx_callback_interface_s, _: u32, _: u32, _: u32, _: u32, _: bool)>,
    pub capture_end: Option<unsafe extern "C" fn(_: *mut bgfx_callback_interface_s)>,
    pub capture_frame: Option<unsafe extern "C" fn(_: *mut bgfx_callback_interface_s, _: *const c_void, _: u32)>,
}

Fields§

§fatal: Option<unsafe extern "C" fn(_: *mut bgfx_callback_interface_s, _: *const i8, _: u16, _: u32, _: *const i8)>§trace_vargs: Option<unsafe extern "C" fn(_: *mut bgfx_callback_interface_s, _: *const i8, _: u16, _: *const i8, _: *mut __va_list_tag)>§profiler_begin: Option<unsafe extern "C" fn(_: *mut bgfx_callback_interface_s, _: *const i8, _: u32, _: *const i8, _: u16)>§profiler_begin_literal: Option<unsafe extern "C" fn(_: *mut bgfx_callback_interface_s, _: *const i8, _: u32, _: *const i8, _: u16)>§profiler_end: Option<unsafe extern "C" fn(_: *mut bgfx_callback_interface_s)>§cache_read_size: Option<unsafe extern "C" fn(_: *mut bgfx_callback_interface_s, _: u64) -> u32>§cache_read: Option<unsafe extern "C" fn(_: *mut bgfx_callback_interface_s, _: u64, _: *mut c_void, _: u32) -> bool>§cache_write: Option<unsafe extern "C" fn(_: *mut bgfx_callback_interface_s, _: u64, _: *const c_void, _: u32)>§screen_shot: Option<unsafe extern "C" fn(_: *mut bgfx_callback_interface_s, _: *const i8, _: u32, _: u32, _: u32, _: *const c_void, _: u32, _: bool)>§capture_begin: Option<unsafe extern "C" fn(_: *mut bgfx_callback_interface_s, _: u32, _: u32, _: u32, _: u32, _: bool)>§capture_end: Option<unsafe extern "C" fn(_: *mut bgfx_callback_interface_s)>§capture_frame: Option<unsafe extern "C" fn(_: *mut bgfx_callback_interface_s, _: *const c_void, _: u32)>