pub type bgfx_interface_vtbl_t = bgfx_interface_vtbl;
struct bgfx_interface_vtbl_t {Show 194 fields
pub attachment_init: Option<unsafe extern "C" fn(_: *mut bgfx_attachment_s, _: bgfx_texture_handle_s, _: u32, _: u16, _: u16, _: u16, _: u8)>,
pub vertex_layout_begin: Option<unsafe extern "C" fn(_: *mut bgfx_vertex_layout_s, _: u32) -> *mut bgfx_vertex_layout_s>,
pub vertex_layout_add: Option<unsafe extern "C" fn(_: *mut bgfx_vertex_layout_s, _: u32, _: u8, _: u32, _: bool, _: bool) -> *mut bgfx_vertex_layout_s>,
pub vertex_layout_decode: Option<unsafe extern "C" fn(_: *const bgfx_vertex_layout_s, _: u32, _: *mut u8, _: *mut u32, _: *mut bool, _: *mut bool)>,
pub vertex_layout_has: Option<unsafe extern "C" fn(_: *const bgfx_vertex_layout_s, _: u32) -> bool>,
pub vertex_layout_skip: Option<unsafe extern "C" fn(_: *mut bgfx_vertex_layout_s, _: u8) -> *mut bgfx_vertex_layout_s>,
pub vertex_layout_end: Option<unsafe extern "C" fn(_: *mut bgfx_vertex_layout_s)>,
pub vertex_pack: Option<unsafe extern "C" fn(_: *const f32, _: bool, _: u32, _: *const bgfx_vertex_layout_s, _: *mut c_void, _: u32)>,
pub vertex_unpack: Option<unsafe extern "C" fn(_: *mut f32, _: u32, _: *const bgfx_vertex_layout_s, _: *const c_void, _: u32)>,
pub vertex_convert: Option<unsafe extern "C" fn(_: *const bgfx_vertex_layout_s, _: *mut c_void, _: *const bgfx_vertex_layout_s, _: *const c_void, _: u32)>,
pub weld_vertices: Option<unsafe extern "C" fn(_: *mut c_void, _: *const bgfx_vertex_layout_s, _: *const c_void, _: u32, _: bool, _: f32) -> u32>,
pub topology_convert: Option<unsafe extern "C" fn(_: u32, _: *mut c_void, _: u32, _: *const c_void, _: u32, _: bool) -> u32>,
pub topology_sort_tri_list: Option<unsafe extern "C" fn(_: u32, _: *mut c_void, _: u32, _: *const f32, _: *const f32, _: *const c_void, _: u32, _: *const c_void, _: u32, _: bool)>,
pub get_supported_renderers: Option<unsafe extern "C" fn(_: u8, _: *mut u32) -> u8>,
pub get_renderer_name: Option<unsafe extern "C" fn(_: u32) -> *const i8>,
pub init_ctor: Option<unsafe extern "C" fn(_: *mut bgfx_init_s)>,
pub init: Option<unsafe extern "C" fn(_: *const bgfx_init_s) -> bool>,
pub shutdown: Option<unsafe extern "C" fn()>,
pub reset: Option<unsafe extern "C" fn(_: u32, _: u32, _: u32, _: u32)>,
pub frame: Option<unsafe extern "C" fn(_: bool) -> u32>,
pub get_renderer_type: Option<unsafe extern "C" fn() -> u32>,
pub get_caps: Option<unsafe extern "C" fn() -> *const bgfx_caps_s>,
pub get_stats: Option<unsafe extern "C" fn() -> *const bgfx_stats_s>,
pub alloc: Option<unsafe extern "C" fn(_: u32) -> *const bgfx_memory_s>,
pub copy: Option<unsafe extern "C" fn(_: *const c_void, _: u32) -> *const bgfx_memory_s>,
pub make_ref: Option<unsafe extern "C" fn(_: *const c_void, _: u32) -> *const bgfx_memory_s>,
pub make_ref_release: Option<unsafe extern "C" fn(_: *const c_void, _: u32, _: Option<unsafe extern "C" fn(_: *mut c_void, _: *mut c_void)>, _: *mut c_void) -> *const bgfx_memory_s>,
pub set_debug: Option<unsafe extern "C" fn(_: u32)>,
pub dbg_text_clear: Option<unsafe extern "C" fn(_: u8, _: bool)>,
pub dbg_text_printf: Option<unsafe extern "C" fn(_: u16, _: u16, _: u8, _: *const i8, ...)>,
pub dbg_text_vprintf: Option<unsafe extern "C" fn(_: u16, _: u16, _: u8, _: *const i8, _: *mut __va_list_tag)>,
pub dbg_text_image: Option<unsafe extern "C" fn(_: u16, _: u16, _: u16, _: u16, _: *const c_void, _: u16)>,
pub create_index_buffer: Option<unsafe extern "C" fn(_: *const bgfx_memory_s, _: u16) -> bgfx_index_buffer_handle_s>,
pub set_index_buffer_name: Option<unsafe extern "C" fn(_: bgfx_index_buffer_handle_s, _: *const i8, _: i32)>,
pub destroy_index_buffer: Option<unsafe extern "C" fn(_: bgfx_index_buffer_handle_s)>,
pub create_vertex_layout: Option<unsafe extern "C" fn(_: *const bgfx_vertex_layout_s) -> bgfx_vertex_layout_handle_s>,
pub destroy_vertex_layout: Option<unsafe extern "C" fn(_: bgfx_vertex_layout_handle_s)>,
pub create_vertex_buffer: Option<unsafe extern "C" fn(_: *const bgfx_memory_s, _: *const bgfx_vertex_layout_s, _: u16) -> bgfx_vertex_buffer_handle_s>,
pub set_vertex_buffer_name: Option<unsafe extern "C" fn(_: bgfx_vertex_buffer_handle_s, _: *const i8, _: i32)>,
pub destroy_vertex_buffer: Option<unsafe extern "C" fn(_: bgfx_vertex_buffer_handle_s)>,
pub create_dynamic_index_buffer: Option<unsafe extern "C" fn(_: u32, _: u16) -> bgfx_dynamic_index_buffer_handle_s>,
pub create_dynamic_index_buffer_mem: Option<unsafe extern "C" fn(_: *const bgfx_memory_s, _: u16) -> bgfx_dynamic_index_buffer_handle_s>,
pub update_dynamic_index_buffer: Option<unsafe extern "C" fn(_: bgfx_dynamic_index_buffer_handle_s, _: u32, _: *const bgfx_memory_s)>,
pub destroy_dynamic_index_buffer: Option<unsafe extern "C" fn(_: bgfx_dynamic_index_buffer_handle_s)>,
pub create_dynamic_vertex_buffer: Option<unsafe extern "C" fn(_: u32, _: *const bgfx_vertex_layout_s, _: u16) -> bgfx_dynamic_vertex_buffer_handle_s>,
pub create_dynamic_vertex_buffer_mem: Option<unsafe extern "C" fn(_: *const bgfx_memory_s, _: *const bgfx_vertex_layout_s, _: u16) -> bgfx_dynamic_vertex_buffer_handle_s>,
pub update_dynamic_vertex_buffer: Option<unsafe extern "C" fn(_: bgfx_dynamic_vertex_buffer_handle_s, _: u32, _: *const bgfx_memory_s)>,
pub destroy_dynamic_vertex_buffer: Option<unsafe extern "C" fn(_: bgfx_dynamic_vertex_buffer_handle_s)>,
pub get_avail_transient_index_buffer: Option<unsafe extern "C" fn(_: u32, _: bool) -> u32>,
pub get_avail_transient_vertex_buffer: Option<unsafe extern "C" fn(_: u32, _: *const bgfx_vertex_layout_s) -> u32>,
pub get_avail_instance_data_buffer: Option<unsafe extern "C" fn(_: u32, _: u16) -> u32>,
pub alloc_transient_index_buffer: Option<unsafe extern "C" fn(_: *mut bgfx_transient_index_buffer_s, _: u32, _: bool)>,
pub alloc_transient_vertex_buffer: Option<unsafe extern "C" fn(_: *mut bgfx_transient_vertex_buffer_s, _: u32, _: *const bgfx_vertex_layout_s)>,
pub alloc_transient_buffers: Option<unsafe extern "C" fn(_: *mut bgfx_transient_vertex_buffer_s, _: *const bgfx_vertex_layout_s, _: u32, _: *mut bgfx_transient_index_buffer_s, _: u32, _: bool) -> bool>,
pub alloc_instance_data_buffer: Option<unsafe extern "C" fn(_: *mut bgfx_instance_data_buffer_s, _: u32, _: u16)>,
pub create_indirect_buffer: Option<unsafe extern "C" fn(_: u32) -> bgfx_indirect_buffer_handle_s>,
pub destroy_indirect_buffer: Option<unsafe extern "C" fn(_: bgfx_indirect_buffer_handle_s)>,
pub create_shader: Option<unsafe extern "C" fn(_: *const bgfx_memory_s) -> bgfx_shader_handle_s>,
pub get_shader_uniforms: Option<unsafe extern "C" fn(_: bgfx_shader_handle_s, _: *mut bgfx_uniform_handle_s, _: u16) -> u16>,
pub set_shader_name: Option<unsafe extern "C" fn(_: bgfx_shader_handle_s, _: *const i8, _: i32)>,
pub destroy_shader: Option<unsafe extern "C" fn(_: bgfx_shader_handle_s)>,
pub create_program: Option<unsafe extern "C" fn(_: bgfx_shader_handle_s, _: bgfx_shader_handle_s, _: bool) -> bgfx_program_handle_s>,
pub create_compute_program: Option<unsafe extern "C" fn(_: bgfx_shader_handle_s, _: bool) -> bgfx_program_handle_s>,
pub destroy_program: Option<unsafe extern "C" fn(_: bgfx_program_handle_s)>,
pub is_texture_valid: Option<unsafe extern "C" fn(_: u16, _: bool, _: u16, _: u32, _: u64) -> bool>,
pub is_frame_buffer_valid: Option<unsafe extern "C" fn(_: u8, _: *const bgfx_attachment_s) -> bool>,
pub calc_texture_size: Option<unsafe extern "C" fn(_: *mut bgfx_texture_info_s, _: u16, _: u16, _: u16, _: bool, _: bool, _: u16, _: u32)>,
pub create_texture: Option<unsafe extern "C" fn(_: *const bgfx_memory_s, _: u64, _: u8, _: *mut bgfx_texture_info_s) -> bgfx_texture_handle_s>,
pub create_texture_2d: Option<unsafe extern "C" fn(_: u16, _: u16, _: bool, _: u16, _: u32, _: u64, _: *const bgfx_memory_s) -> bgfx_texture_handle_s>,
pub create_texture_2d_scaled: Option<unsafe extern "C" fn(_: u32, _: bool, _: u16, _: u32, _: u64) -> bgfx_texture_handle_s>,
pub create_texture_3d: Option<unsafe extern "C" fn(_: u16, _: u16, _: u16, _: bool, _: u32, _: u64, _: *const bgfx_memory_s) -> bgfx_texture_handle_s>,
pub create_texture_cube: Option<unsafe extern "C" fn(_: u16, _: bool, _: u16, _: u32, _: u64, _: *const bgfx_memory_s) -> bgfx_texture_handle_s>,
pub update_texture_2d: Option<unsafe extern "C" fn(_: bgfx_texture_handle_s, _: u16, _: u8, _: u16, _: u16, _: u16, _: u16, _: *const bgfx_memory_s, _: u16)>,
pub update_texture_3d: Option<unsafe extern "C" fn(_: bgfx_texture_handle_s, _: u8, _: u16, _: u16, _: u16, _: u16, _: u16, _: u16, _: *const bgfx_memory_s)>,
pub update_texture_cube: Option<unsafe extern "C" fn(_: bgfx_texture_handle_s, _: u16, _: u8, _: u8, _: u16, _: u16, _: u16, _: u16, _: *const bgfx_memory_s, _: u16)>,
pub read_texture: Option<unsafe extern "C" fn(_: bgfx_texture_handle_s, _: *mut c_void, _: u8) -> u32>,
pub set_texture_name: Option<unsafe extern "C" fn(_: bgfx_texture_handle_s, _: *const i8, _: i32)>,
pub get_direct_access_ptr: Option<unsafe extern "C" fn(_: bgfx_texture_handle_s) -> *mut c_void>,
pub destroy_texture: Option<unsafe extern "C" fn(_: bgfx_texture_handle_s)>,
pub create_frame_buffer: Option<unsafe extern "C" fn(_: u16, _: u16, _: u32, _: u64) -> bgfx_frame_buffer_handle_s>,
pub create_frame_buffer_scaled: Option<unsafe extern "C" fn(_: u32, _: u32, _: u64) -> bgfx_frame_buffer_handle_s>,
pub create_frame_buffer_from_handles: Option<unsafe extern "C" fn(_: u8, _: *const bgfx_texture_handle_s, _: bool) -> bgfx_frame_buffer_handle_s>,
pub create_frame_buffer_from_attachment: Option<unsafe extern "C" fn(_: u8, _: *const bgfx_attachment_s, _: bool) -> bgfx_frame_buffer_handle_s>,
pub create_frame_buffer_from_nwh: Option<unsafe extern "C" fn(_: *mut c_void, _: u16, _: u16, _: u32, _: u32) -> bgfx_frame_buffer_handle_s>,
pub set_frame_buffer_name: Option<unsafe extern "C" fn(_: bgfx_frame_buffer_handle_s, _: *const i8, _: i32)>,
pub get_texture: Option<unsafe extern "C" fn(_: bgfx_frame_buffer_handle_s, _: u8) -> bgfx_texture_handle_s>,
pub destroy_frame_buffer: Option<unsafe extern "C" fn(_: bgfx_frame_buffer_handle_s)>,
pub create_uniform: Option<unsafe extern "C" fn(_: *const i8, _: u32, _: u16) -> bgfx_uniform_handle_s>,
pub get_uniform_info: Option<unsafe extern "C" fn(_: bgfx_uniform_handle_s, _: *mut bgfx_uniform_info_s)>,
pub destroy_uniform: Option<unsafe extern "C" fn(_: bgfx_uniform_handle_s)>,
pub create_occlusion_query: Option<unsafe extern "C" fn() -> bgfx_occlusion_query_handle_s>,
pub get_result: Option<unsafe extern "C" fn(_: bgfx_occlusion_query_handle_s, _: *mut i32) -> u32>,
pub destroy_occlusion_query: Option<unsafe extern "C" fn(_: bgfx_occlusion_query_handle_s)>,
pub set_palette_color: Option<unsafe extern "C" fn(_: u8, _: *const f32)>,
pub set_palette_color_rgba8: Option<unsafe extern "C" fn(_: u8, _: u32)>,
pub set_view_name: Option<unsafe extern "C" fn(_: u16, _: *const i8)>,
pub set_view_rect: Option<unsafe extern "C" fn(_: u16, _: u16, _: u16, _: u16, _: u16)>,
pub set_view_rect_ratio: Option<unsafe extern "C" fn(_: u16, _: u16, _: u16, _: u32)>,
pub set_view_scissor: Option<unsafe extern "C" fn(_: u16, _: u16, _: u16, _: u16, _: u16)>,
pub set_view_clear: Option<unsafe extern "C" fn(_: u16, _: u16, _: u32, _: f32, _: u8)>,
pub set_view_clear_mrt: Option<unsafe extern "C" fn(_: u16, _: u16, _: f32, _: u8, _: u8, _: u8, _: u8, _: u8, _: u8, _: u8, _: u8, _: u8)>,
pub set_view_mode: Option<unsafe extern "C" fn(_: u16, _: u32)>,
pub set_view_frame_buffer: Option<unsafe extern "C" fn(_: u16, _: bgfx_frame_buffer_handle_s)>,
pub set_view_transform: Option<unsafe extern "C" fn(_: u16, _: *const c_void, _: *const c_void)>,
pub set_view_order: Option<unsafe extern "C" fn(_: u16, _: u16, _: *const u16)>,
pub reset_view: Option<unsafe extern "C" fn(_: u16)>,
pub encoder_begin: Option<unsafe extern "C" fn(_: bool) -> *mut bgfx_encoder_s>,
pub encoder_end: Option<unsafe extern "C" fn(_: *mut bgfx_encoder_s)>,
pub encoder_set_marker: Option<unsafe extern "C" fn(_: *mut bgfx_encoder_s, _: *const i8)>,
pub encoder_set_state: Option<unsafe extern "C" fn(_: *mut bgfx_encoder_s, _: u64, _: u32)>,
pub encoder_set_condition: Option<unsafe extern "C" fn(_: *mut bgfx_encoder_s, _: bgfx_occlusion_query_handle_s, _: bool)>,
pub encoder_set_stencil: Option<unsafe extern "C" fn(_: *mut bgfx_encoder_s, _: u32, _: u32)>,
pub encoder_set_scissor: Option<unsafe extern "C" fn(_: *mut bgfx_encoder_s, _: u16, _: u16, _: u16, _: u16) -> u16>,
pub encoder_set_scissor_cached: Option<unsafe extern "C" fn(_: *mut bgfx_encoder_s, _: u16)>,
pub encoder_set_transform: Option<unsafe extern "C" fn(_: *mut bgfx_encoder_s, _: *const c_void, _: u16) -> u32>,
pub encoder_set_transform_cached: Option<unsafe extern "C" fn(_: *mut bgfx_encoder_s, _: u32, _: u16)>,
pub encoder_alloc_transform: Option<unsafe extern "C" fn(_: *mut bgfx_encoder_s, _: *mut bgfx_transform_s, _: u16) -> u32>,
pub encoder_set_uniform: Option<unsafe extern "C" fn(_: *mut bgfx_encoder_s, _: bgfx_uniform_handle_s, _: *const c_void, _: u16)>,
pub encoder_set_index_buffer: Option<unsafe extern "C" fn(_: *mut bgfx_encoder_s, _: bgfx_index_buffer_handle_s, _: u32, _: u32)>,
pub encoder_set_dynamic_index_buffer: Option<unsafe extern "C" fn(_: *mut bgfx_encoder_s, _: bgfx_dynamic_index_buffer_handle_s, _: u32, _: u32)>,
pub encoder_set_transient_index_buffer: Option<unsafe extern "C" fn(_: *mut bgfx_encoder_s, _: *const bgfx_transient_index_buffer_s, _: u32, _: u32)>,
pub encoder_set_vertex_buffer: Option<unsafe extern "C" fn(_: *mut bgfx_encoder_s, _: u8, _: bgfx_vertex_buffer_handle_s, _: u32, _: u32)>,
pub encoder_set_vertex_buffer_with_layout: Option<unsafe extern "C" fn(_: *mut bgfx_encoder_s, _: u8, _: bgfx_vertex_buffer_handle_s, _: u32, _: u32, _: bgfx_vertex_layout_handle_s)>,
pub encoder_set_dynamic_vertex_buffer: Option<unsafe extern "C" fn(_: *mut bgfx_encoder_s, _: u8, _: bgfx_dynamic_vertex_buffer_handle_s, _: u32, _: u32)>,
pub encoder_set_dynamic_vertex_buffer_with_layout: Option<unsafe extern "C" fn(_: *mut bgfx_encoder_s, _: u8, _: bgfx_dynamic_vertex_buffer_handle_s, _: u32, _: u32, _: bgfx_vertex_layout_handle_s)>,
pub encoder_set_transient_vertex_buffer: Option<unsafe extern "C" fn(_: *mut bgfx_encoder_s, _: u8, _: *const bgfx_transient_vertex_buffer_s, _: u32, _: u32)>,
pub encoder_set_transient_vertex_buffer_with_layout: Option<unsafe extern "C" fn(_: *mut bgfx_encoder_s, _: u8, _: *const bgfx_transient_vertex_buffer_s, _: u32, _: u32, _: bgfx_vertex_layout_handle_s)>,
pub encoder_set_vertex_count: Option<unsafe extern "C" fn(_: *mut bgfx_encoder_s, _: u32)>,
pub encoder_set_instance_data_buffer: Option<unsafe extern "C" fn(_: *mut bgfx_encoder_s, _: *const bgfx_instance_data_buffer_s, _: u32, _: u32)>,
pub encoder_set_instance_data_from_vertex_buffer: Option<unsafe extern "C" fn(_: *mut bgfx_encoder_s, _: bgfx_vertex_buffer_handle_s, _: u32, _: u32)>,
pub encoder_set_instance_data_from_dynamic_vertex_buffer: Option<unsafe extern "C" fn(_: *mut bgfx_encoder_s, _: bgfx_dynamic_vertex_buffer_handle_s, _: u32, _: u32)>,
pub encoder_set_instance_count: Option<unsafe extern "C" fn(_: *mut bgfx_encoder_s, _: u32)>,
pub encoder_set_texture: Option<unsafe extern "C" fn(_: *mut bgfx_encoder_s, _: u8, _: bgfx_uniform_handle_s, _: bgfx_texture_handle_s, _: u32)>,
pub encoder_touch: Option<unsafe extern "C" fn(_: *mut bgfx_encoder_s, _: u16)>,
pub encoder_submit: Option<unsafe extern "C" fn(_: *mut bgfx_encoder_s, _: u16, _: bgfx_program_handle_s, _: u32, _: u8)>,
pub encoder_submit_occlusion_query: Option<unsafe extern "C" fn(_: *mut bgfx_encoder_s, _: u16, _: bgfx_program_handle_s, _: bgfx_occlusion_query_handle_s, _: u32, _: u8)>,
pub encoder_submit_indirect: Option<unsafe extern "C" fn(_: *mut bgfx_encoder_s, _: u16, _: bgfx_program_handle_s, _: bgfx_indirect_buffer_handle_s, _: u16, _: u16, _: u32, _: u8)>,
pub encoder_submit_indirect_count: Option<unsafe extern "C" fn(_: *mut bgfx_encoder_s, _: u16, _: bgfx_program_handle_s, _: bgfx_indirect_buffer_handle_s, _: u16, _: bgfx_index_buffer_handle_s, _: u32, _: u16, _: u32, _: u8)>,
pub encoder_set_compute_index_buffer: Option<unsafe extern "C" fn(_: *mut bgfx_encoder_s, _: u8, _: bgfx_index_buffer_handle_s, _: u32)>,
pub encoder_set_compute_vertex_buffer: Option<unsafe extern "C" fn(_: *mut bgfx_encoder_s, _: u8, _: bgfx_vertex_buffer_handle_s, _: u32)>,
pub encoder_set_compute_dynamic_index_buffer: Option<unsafe extern "C" fn(_: *mut bgfx_encoder_s, _: u8, _: bgfx_dynamic_index_buffer_handle_s, _: u32)>,
pub encoder_set_compute_dynamic_vertex_buffer: Option<unsafe extern "C" fn(_: *mut bgfx_encoder_s, _: u8, _: bgfx_dynamic_vertex_buffer_handle_s, _: u32)>,
pub encoder_set_compute_indirect_buffer: Option<unsafe extern "C" fn(_: *mut bgfx_encoder_s, _: u8, _: bgfx_indirect_buffer_handle_s, _: u32)>,
pub encoder_set_image: Option<unsafe extern "C" fn(_: *mut bgfx_encoder_s, _: u8, _: bgfx_texture_handle_s, _: u8, _: u32, _: u32)>,
pub encoder_dispatch: Option<unsafe extern "C" fn(_: *mut bgfx_encoder_s, _: u16, _: bgfx_program_handle_s, _: u32, _: u32, _: u32, _: u8)>,
pub encoder_dispatch_indirect: Option<unsafe extern "C" fn(_: *mut bgfx_encoder_s, _: u16, _: bgfx_program_handle_s, _: bgfx_indirect_buffer_handle_s, _: u16, _: u16, _: u8)>,
pub encoder_discard: Option<unsafe extern "C" fn(_: *mut bgfx_encoder_s, _: u8)>,
pub encoder_blit: Option<unsafe extern "C" fn(_: *mut bgfx_encoder_s, _: u16, _: bgfx_texture_handle_s, _: u8, _: u16, _: u16, _: u16, _: bgfx_texture_handle_s, _: u8, _: u16, _: u16, _: u16, _: u16, _: u16, _: u16)>,
pub request_screen_shot: Option<unsafe extern "C" fn(_: bgfx_frame_buffer_handle_s, _: *const i8)>,
pub render_frame: Option<unsafe extern "C" fn(_: i32) -> u32>,
pub set_platform_data: Option<unsafe extern "C" fn(_: *const bgfx_platform_data_s)>,
pub get_internal_data: Option<unsafe extern "C" fn() -> *const bgfx_internal_data_s>,
pub override_internal_texture_ptr: Option<unsafe extern "C" fn(_: bgfx_texture_handle_s, _: usize) -> usize>,
pub override_internal_texture: Option<unsafe extern "C" fn(_: bgfx_texture_handle_s, _: u16, _: u16, _: u8, _: u32, _: u64) -> usize>,
pub set_marker: Option<unsafe extern "C" fn(_: *const i8)>,
pub set_state: Option<unsafe extern "C" fn(_: u64, _: u32)>,
pub set_condition: Option<unsafe extern "C" fn(_: bgfx_occlusion_query_handle_s, _: bool)>,
pub set_stencil: Option<unsafe extern "C" fn(_: u32, _: u32)>,
pub set_scissor: Option<unsafe extern "C" fn(_: u16, _: u16, _: u16, _: u16) -> u16>,
pub set_scissor_cached: Option<unsafe extern "C" fn(_: u16)>,
pub set_transform: Option<unsafe extern "C" fn(_: *const c_void, _: u16) -> u32>,
pub set_transform_cached: Option<unsafe extern "C" fn(_: u32, _: u16)>,
pub alloc_transform: Option<unsafe extern "C" fn(_: *mut bgfx_transform_s, _: u16) -> u32>,
pub set_uniform: Option<unsafe extern "C" fn(_: bgfx_uniform_handle_s, _: *const c_void, _: u16)>,
pub set_index_buffer: Option<unsafe extern "C" fn(_: bgfx_index_buffer_handle_s, _: u32, _: u32)>,
pub set_dynamic_index_buffer: Option<unsafe extern "C" fn(_: bgfx_dynamic_index_buffer_handle_s, _: u32, _: u32)>,
pub set_transient_index_buffer: Option<unsafe extern "C" fn(_: *const bgfx_transient_index_buffer_s, _: u32, _: u32)>,
pub set_vertex_buffer: Option<unsafe extern "C" fn(_: u8, _: bgfx_vertex_buffer_handle_s, _: u32, _: u32)>,
pub set_vertex_buffer_with_layout: Option<unsafe extern "C" fn(_: u8, _: bgfx_vertex_buffer_handle_s, _: u32, _: u32, _: bgfx_vertex_layout_handle_s)>,
pub set_dynamic_vertex_buffer: Option<unsafe extern "C" fn(_: u8, _: bgfx_dynamic_vertex_buffer_handle_s, _: u32, _: u32)>,
pub set_dynamic_vertex_buffer_with_layout: Option<unsafe extern "C" fn(_: u8, _: bgfx_dynamic_vertex_buffer_handle_s, _: u32, _: u32, _: bgfx_vertex_layout_handle_s)>,
pub set_transient_vertex_buffer: Option<unsafe extern "C" fn(_: u8, _: *const bgfx_transient_vertex_buffer_s, _: u32, _: u32)>,
pub set_transient_vertex_buffer_with_layout: Option<unsafe extern "C" fn(_: u8, _: *const bgfx_transient_vertex_buffer_s, _: u32, _: u32, _: bgfx_vertex_layout_handle_s)>,
pub set_vertex_count: Option<unsafe extern "C" fn(_: u32)>,
pub set_instance_data_buffer: Option<unsafe extern "C" fn(_: *const bgfx_instance_data_buffer_s, _: u32, _: u32)>,
pub set_instance_data_from_vertex_buffer: Option<unsafe extern "C" fn(_: bgfx_vertex_buffer_handle_s, _: u32, _: u32)>,
pub set_instance_data_from_dynamic_vertex_buffer: Option<unsafe extern "C" fn(_: bgfx_dynamic_vertex_buffer_handle_s, _: u32, _: u32)>,
pub set_instance_count: Option<unsafe extern "C" fn(_: u32)>,
pub set_texture: Option<unsafe extern "C" fn(_: u8, _: bgfx_uniform_handle_s, _: bgfx_texture_handle_s, _: u32)>,
pub touch: Option<unsafe extern "C" fn(_: u16)>,
pub submit: Option<unsafe extern "C" fn(_: u16, _: bgfx_program_handle_s, _: u32, _: u8)>,
pub submit_occlusion_query: Option<unsafe extern "C" fn(_: u16, _: bgfx_program_handle_s, _: bgfx_occlusion_query_handle_s, _: u32, _: u8)>,
pub submit_indirect: Option<unsafe extern "C" fn(_: u16, _: bgfx_program_handle_s, _: bgfx_indirect_buffer_handle_s, _: u16, _: u16, _: u32, _: u8)>,
pub submit_indirect_count: Option<unsafe extern "C" fn(_: u16, _: bgfx_program_handle_s, _: bgfx_indirect_buffer_handle_s, _: u16, _: bgfx_index_buffer_handle_s, _: u32, _: u16, _: u32, _: u8)>,
pub set_compute_index_buffer: Option<unsafe extern "C" fn(_: u8, _: bgfx_index_buffer_handle_s, _: u32)>,
pub set_compute_vertex_buffer: Option<unsafe extern "C" fn(_: u8, _: bgfx_vertex_buffer_handle_s, _: u32)>,
pub set_compute_dynamic_index_buffer: Option<unsafe extern "C" fn(_: u8, _: bgfx_dynamic_index_buffer_handle_s, _: u32)>,
pub set_compute_dynamic_vertex_buffer: Option<unsafe extern "C" fn(_: u8, _: bgfx_dynamic_vertex_buffer_handle_s, _: u32)>,
pub set_compute_indirect_buffer: Option<unsafe extern "C" fn(_: u8, _: bgfx_indirect_buffer_handle_s, _: u32)>,
pub set_image: Option<unsafe extern "C" fn(_: u8, _: bgfx_texture_handle_s, _: u8, _: u32, _: u32)>,
pub dispatch: Option<unsafe extern "C" fn(_: u16, _: bgfx_program_handle_s, _: u32, _: u32, _: u32, _: u8)>,
pub dispatch_indirect: Option<unsafe extern "C" fn(_: u16, _: bgfx_program_handle_s, _: bgfx_indirect_buffer_handle_s, _: u16, _: u16, _: u8)>,
pub discard: Option<unsafe extern "C" fn(_: u8)>,
pub blit: Option<unsafe extern "C" fn(_: u16, _: bgfx_texture_handle_s, _: u8, _: u16, _: u16, _: u16, _: bgfx_texture_handle_s, _: u8, _: u16, _: u16, _: u16, _: u16, _: u16, _: u16)>,
}
§create_frame_buffer_from_handles: Option<unsafe extern "C" fn(_: u8, _: *const bgfx_texture_handle_s, _: bool) -> bgfx_frame_buffer_handle_s>