Struct bgfx_sys::bgfx_interface_vtbl [−][src]
#[repr(C)]pub struct bgfx_interface_vtbl {}Show fields
pub attachment_init: Option<unsafe extern "C" fn(_this: *mut bgfx_attachment_t, _handle: bgfx_texture_handle_t, _access: bgfx_access_t, _layer: u16, _numLayers: u16, _mip: u16, _resolve: u8)>, pub vertex_layout_begin: Option<unsafe extern "C" fn(_this: *mut bgfx_vertex_layout_t, _rendererType: bgfx_renderer_type_t) -> *mut bgfx_vertex_layout_t>, pub vertex_layout_add: Option<unsafe extern "C" fn(_this: *mut bgfx_vertex_layout_t, _attrib: bgfx_attrib_t, _num: u8, _type: bgfx_attrib_type_t, _normalized: bool, _asInt: bool) -> *mut bgfx_vertex_layout_t>, pub vertex_layout_decode: Option<unsafe extern "C" fn(_this: *const bgfx_vertex_layout_t, _attrib: bgfx_attrib_t, _num: *mut u8, _type: *mut bgfx_attrib_type_t, _normalized: *mut bool, _asInt: *mut bool)>, pub vertex_layout_has: Option<unsafe extern "C" fn(_this: *const bgfx_vertex_layout_t, _attrib: bgfx_attrib_t) -> bool>, pub vertex_layout_skip: Option<unsafe extern "C" fn(_this: *mut bgfx_vertex_layout_t, _num: u8) -> *mut bgfx_vertex_layout_t>, pub vertex_layout_end: Option<unsafe extern "C" fn(_this: *mut bgfx_vertex_layout_t)>, pub vertex_pack: Option<unsafe extern "C" fn(_input: *const f32, _inputNormalized: bool, _attr: bgfx_attrib_t, _layout: *const bgfx_vertex_layout_t, _data: *mut c_void, _index: u32)>, pub vertex_unpack: Option<unsafe extern "C" fn(_output: *mut f32, _attr: bgfx_attrib_t, _layout: *const bgfx_vertex_layout_t, _data: *const c_void, _index: u32)>, pub vertex_convert: Option<unsafe extern "C" fn(_dstLayout: *const bgfx_vertex_layout_t, _dstData: *mut c_void, _srcLayout: *const bgfx_vertex_layout_t, _srcData: *const c_void, _num: u32)>, pub weld_vertices: Option<unsafe extern "C" fn(_output: *mut c_void, _layout: *const bgfx_vertex_layout_t, _data: *const c_void, _num: u32, _index32: bool, _epsilon: f32) -> u32>, pub topology_convert: Option<unsafe extern "C" fn(_conversion: bgfx_topology_convert_t, _dst: *mut c_void, _dstSize: u32, _indices: *const c_void, _numIndices: u32, _index32: bool) -> u32>, pub topology_sort_tri_list: Option<unsafe extern "C" fn(_sort: bgfx_topology_sort_t, _dst: *mut c_void, _dstSize: u32, _dir: *const f32, _pos: *const f32, _vertices: *const c_void, _stride: u32, _indices: *const c_void, _numIndices: u32, _index32: bool)>, pub get_supported_renderers: Option<unsafe extern "C" fn(_max: u8, _enum: *mut bgfx_renderer_type_t) -> u8>, pub get_renderer_name: Option<unsafe extern "C" fn(_type: bgfx_renderer_type_t) -> *const c_char>, pub init_ctor: Option<unsafe extern "C" fn(_init: *mut bgfx_init_t)>, pub init: Option<unsafe extern "C" fn(_init: *const bgfx_init_t) -> bool>, pub shutdown: Option<unsafe extern "C" fn()>, pub reset: Option<unsafe extern "C" fn(_width: u32, _height: u32, _flags: u32, _format: bgfx_texture_format_t)>, pub frame: Option<unsafe extern "C" fn(_capture: bool) -> u32>, pub get_renderer_type: Option<unsafe extern "C" fn() -> bgfx_renderer_type_t>, pub get_caps: Option<unsafe extern "C" fn() -> *const bgfx_caps_t>, pub get_stats: Option<unsafe extern "C" fn() -> *const bgfx_stats_t>, pub alloc: Option<unsafe extern "C" fn(_size: u32) -> *const bgfx_memory_t>, pub copy: Option<unsafe extern "C" fn(_data: *const c_void, _size: u32) -> *const bgfx_memory_t>, pub make_ref: Option<unsafe extern "C" fn(_data: *const c_void, _size: u32) -> *const bgfx_memory_t>, pub make_ref_release: Option<unsafe extern "C" fn(_data: *const c_void, _size: u32, _releaseFn: bgfx_release_fn_t, _userData: *mut c_void) -> *const bgfx_memory_t>, pub set_debug: Option<unsafe extern "C" fn(_debug: u32)>, pub dbg_text_clear: Option<unsafe extern "C" fn(_attr: u8, _small: bool)>, pub dbg_text_printf: Option<unsafe extern "C" fn(_x: u16, _y: u16, _attr: u8, _format: *const c_char, ...)>, pub dbg_text_vprintf: Option<unsafe extern "C" fn(_x: u16, _y: u16, _attr: u8, _format: *const c_char, _argList: *mut __va_list_tag)>, pub dbg_text_image: Option<unsafe extern "C" fn(_x: u16, _y: u16, _width: u16, _height: u16, _data: *const c_void, _pitch: u16)>, pub create_index_buffer: Option<unsafe extern "C" fn(_mem: *const bgfx_memory_t, _flags: u16) -> bgfx_index_buffer_handle_t>, pub set_index_buffer_name: Option<unsafe extern "C" fn(_handle: bgfx_index_buffer_handle_t, _name: *const c_char, _len: i32)>, pub destroy_index_buffer: Option<unsafe extern "C" fn(_handle: bgfx_index_buffer_handle_t)>, pub create_vertex_layout: Option<unsafe extern "C" fn(_layout: *const bgfx_vertex_layout_t) -> bgfx_vertex_layout_handle_t>, pub destroy_vertex_layout: Option<unsafe extern "C" fn(_layoutHandle: bgfx_vertex_layout_handle_t)>, pub create_vertex_buffer: Option<unsafe extern "C" fn(_mem: *const bgfx_memory_t, _layout: *const bgfx_vertex_layout_t, _flags: u16) -> bgfx_vertex_buffer_handle_t>, pub set_vertex_buffer_name: Option<unsafe extern "C" fn(_handle: bgfx_vertex_buffer_handle_t, _name: *const c_char, _len: i32)>, pub destroy_vertex_buffer: Option<unsafe extern "C" fn(_handle: bgfx_vertex_buffer_handle_t)>, pub create_dynamic_index_buffer: Option<unsafe extern "C" fn(_num: u32, _flags: u16) -> bgfx_dynamic_index_buffer_handle_t>, pub create_dynamic_index_buffer_mem: Option<unsafe extern "C" fn(_mem: *const bgfx_memory_t, _flags: u16) -> bgfx_dynamic_index_buffer_handle_t>, pub update_dynamic_index_buffer: Option<unsafe extern "C" fn(_handle: bgfx_dynamic_index_buffer_handle_t, _startIndex: u32, _mem: *const bgfx_memory_t)>, pub destroy_dynamic_index_buffer: Option<unsafe extern "C" fn(_handle: bgfx_dynamic_index_buffer_handle_t)>, pub create_dynamic_vertex_buffer: Option<unsafe extern "C" fn(_num: u32, _layout: *const bgfx_vertex_layout_t, _flags: u16) -> bgfx_dynamic_vertex_buffer_handle_t>, pub create_dynamic_vertex_buffer_mem: Option<unsafe extern "C" fn(_mem: *const bgfx_memory_t, _layout: *const bgfx_vertex_layout_t, _flags: u16) -> bgfx_dynamic_vertex_buffer_handle_t>, pub update_dynamic_vertex_buffer: Option<unsafe extern "C" fn(_handle: bgfx_dynamic_vertex_buffer_handle_t, _startVertex: u32, _mem: *const bgfx_memory_t)>, pub destroy_dynamic_vertex_buffer: Option<unsafe extern "C" fn(_handle: bgfx_dynamic_vertex_buffer_handle_t)>, pub get_avail_transient_index_buffer: Option<unsafe extern "C" fn(_num: u32, _index32: bool) -> u32>, pub get_avail_transient_vertex_buffer: Option<unsafe extern "C" fn(_num: u32, _layout: *const bgfx_vertex_layout_t) -> u32>, pub get_avail_instance_data_buffer: Option<unsafe extern "C" fn(_num: u32, _stride: u16) -> u32>, pub alloc_transient_index_buffer: Option<unsafe extern "C" fn(_tib: *mut bgfx_transient_index_buffer_t, _num: u32, _index32: bool)>, pub alloc_transient_vertex_buffer: Option<unsafe extern "C" fn(_tvb: *mut bgfx_transient_vertex_buffer_t, _num: u32, _layout: *const bgfx_vertex_layout_t)>, pub alloc_transient_buffers: Option<unsafe extern "C" fn(_tvb: *mut bgfx_transient_vertex_buffer_t, _layout: *const bgfx_vertex_layout_t, _numVertices: u32, _tib: *mut bgfx_transient_index_buffer_t, _numIndices: u32, _index32: bool) -> bool>, pub alloc_instance_data_buffer: Option<unsafe extern "C" fn(_idb: *mut bgfx_instance_data_buffer_t, _num: u32, _stride: u16)>, pub create_indirect_buffer: Option<unsafe extern "C" fn(_num: u32) -> bgfx_indirect_buffer_handle_t>, pub destroy_indirect_buffer: Option<unsafe extern "C" fn(_handle: bgfx_indirect_buffer_handle_t)>, pub create_shader: Option<unsafe extern "C" fn(_mem: *const bgfx_memory_t) -> bgfx_shader_handle_t>, pub get_shader_uniforms: Option<unsafe extern "C" fn(_handle: bgfx_shader_handle_t, _uniforms: *mut bgfx_uniform_handle_t, _max: u16) -> u16>, pub set_shader_name: Option<unsafe extern "C" fn(_handle: bgfx_shader_handle_t, _name: *const c_char, _len: i32)>, pub destroy_shader: Option<unsafe extern "C" fn(_handle: bgfx_shader_handle_t)>, pub create_program: Option<unsafe extern "C" fn(_vsh: bgfx_shader_handle_t, _fsh: bgfx_shader_handle_t, _destroyShaders: bool) -> bgfx_program_handle_t>, pub create_compute_program: Option<unsafe extern "C" fn(_csh: bgfx_shader_handle_t, _destroyShaders: bool) -> bgfx_program_handle_t>, pub destroy_program: Option<unsafe extern "C" fn(_handle: bgfx_program_handle_t)>, pub is_texture_valid: Option<unsafe extern "C" fn(_depth: u16, _cubeMap: bool, _numLayers: u16, _format: bgfx_texture_format_t, _flags: u64) -> bool>, pub is_frame_buffer_valid: Option<unsafe extern "C" fn(_num: u8, _attachment: *const bgfx_attachment_t) -> bool>, pub calc_texture_size: Option<unsafe extern "C" fn(_info: *mut bgfx_texture_info_t, _width: u16, _height: u16, _depth: u16, _cubeMap: bool, _hasMips: bool, _numLayers: u16, _format: bgfx_texture_format_t)>, pub create_texture: Option<unsafe extern "C" fn(_mem: *const bgfx_memory_t, _flags: u64, _skip: u8, _info: *mut bgfx_texture_info_t) -> bgfx_texture_handle_t>, pub create_texture_2d: Option<unsafe extern "C" fn(_width: u16, _height: u16, _hasMips: bool, _numLayers: u16, _format: bgfx_texture_format_t, _flags: u64, _mem: *const bgfx_memory_t) -> bgfx_texture_handle_t>, pub create_texture_2d_scaled: Option<unsafe extern "C" fn(_ratio: bgfx_backbuffer_ratio_t, _hasMips: bool, _numLayers: u16, _format: bgfx_texture_format_t, _flags: u64) -> bgfx_texture_handle_t>, pub create_texture_3d: Option<unsafe extern "C" fn(_width: u16, _height: u16, _depth: u16, _hasMips: bool, _format: bgfx_texture_format_t, _flags: u64, _mem: *const bgfx_memory_t) -> bgfx_texture_handle_t>, pub create_texture_cube: Option<unsafe extern "C" fn(_size: u16, _hasMips: bool, _numLayers: u16, _format: bgfx_texture_format_t, _flags: u64, _mem: *const bgfx_memory_t) -> bgfx_texture_handle_t>, pub update_texture_2d: Option<unsafe extern "C" fn(_handle: bgfx_texture_handle_t, _layer: u16, _mip: u8, _x: u16, _y: u16, _width: u16, _height: u16, _mem: *const bgfx_memory_t, _pitch: u16)>, pub update_texture_3d: Option<unsafe extern "C" fn(_handle: bgfx_texture_handle_t, _mip: u8, _x: u16, _y: u16, _z: u16, _width: u16, _height: u16, _depth: u16, _mem: *const bgfx_memory_t)>, pub update_texture_cube: Option<unsafe extern "C" fn(_handle: bgfx_texture_handle_t, _layer: u16, _side: u8, _mip: u8, _x: u16, _y: u16, _width: u16, _height: u16, _mem: *const bgfx_memory_t, _pitch: u16)>, pub read_texture: Option<unsafe extern "C" fn(_handle: bgfx_texture_handle_t, _data: *mut c_void, _mip: u8) -> u32>, pub set_texture_name: Option<unsafe extern "C" fn(_handle: bgfx_texture_handle_t, _name: *const c_char, _len: i32)>, pub get_direct_access_ptr: Option<unsafe extern "C" fn(_handle: bgfx_texture_handle_t) -> *mut c_void>, pub destroy_texture: Option<unsafe extern "C" fn(_handle: bgfx_texture_handle_t)>, pub create_frame_buffer: Option<unsafe extern "C" fn(_width: u16, _height: u16, _format: bgfx_texture_format_t, _textureFlags: u64) -> bgfx_frame_buffer_handle_t>, pub create_frame_buffer_scaled: Option<unsafe extern "C" fn(_ratio: bgfx_backbuffer_ratio_t, _format: bgfx_texture_format_t, _textureFlags: u64) -> bgfx_frame_buffer_handle_t>, pub create_frame_buffer_from_handles: Option<unsafe extern "C" fn(_num: u8, _handles: *const bgfx_texture_handle_t, _destroyTexture: bool) -> bgfx_frame_buffer_handle_t>, pub create_frame_buffer_from_attachment: Option<unsafe extern "C" fn(_num: u8, _attachment: *const bgfx_attachment_t, _destroyTexture: bool) -> bgfx_frame_buffer_handle_t>, pub create_frame_buffer_from_nwh: Option<unsafe extern "C" fn(_nwh: *mut c_void, _width: u16, _height: u16, _format: bgfx_texture_format_t, _depthFormat: bgfx_texture_format_t) -> bgfx_frame_buffer_handle_t>, pub set_frame_buffer_name: Option<unsafe extern "C" fn(_handle: bgfx_frame_buffer_handle_t, _name: *const c_char, _len: i32)>, pub get_texture: Option<unsafe extern "C" fn(_handle: bgfx_frame_buffer_handle_t, _attachment: u8) -> bgfx_texture_handle_t>, pub destroy_frame_buffer: Option<unsafe extern "C" fn(_handle: bgfx_frame_buffer_handle_t)>, pub create_uniform: Option<unsafe extern "C" fn(_name: *const c_char, _type: bgfx_uniform_type_t, _num: u16) -> bgfx_uniform_handle_t>, pub get_uniform_info: Option<unsafe extern "C" fn(_handle: bgfx_uniform_handle_t, _info: *mut bgfx_uniform_info_t)>, pub destroy_uniform: Option<unsafe extern "C" fn(_handle: bgfx_uniform_handle_t)>, pub create_occlusion_query: Option<unsafe extern "C" fn() -> bgfx_occlusion_query_handle_t>, pub get_result: Option<unsafe extern "C" fn(_handle: bgfx_occlusion_query_handle_t, _result: *mut i32) -> bgfx_occlusion_query_result_t>, pub destroy_occlusion_query: Option<unsafe extern "C" fn(_handle: bgfx_occlusion_query_handle_t)>, pub set_palette_color: Option<unsafe extern "C" fn(_index: u8, _rgba: *const f32)>, pub set_palette_color_rgba8: Option<unsafe extern "C" fn(_index: u8, _rgba: u32)>, pub set_view_name: Option<unsafe extern "C" fn(_id: bgfx_view_id_t, _name: *const c_char)>, pub set_view_rect: Option<unsafe extern "C" fn(_id: bgfx_view_id_t, _x: u16, _y: u16, _width: u16, _height: u16)>, pub set_view_rect_ratio: Option<unsafe extern "C" fn(_id: bgfx_view_id_t, _x: u16, _y: u16, _ratio: bgfx_backbuffer_ratio_t)>, pub set_view_scissor: Option<unsafe extern "C" fn(_id: bgfx_view_id_t, _x: u16, _y: u16, _width: u16, _height: u16)>, pub set_view_clear: Option<unsafe extern "C" fn(_id: bgfx_view_id_t, _flags: u16, _rgba: u32, _depth: f32, _stencil: u8)>, pub set_view_clear_mrt: Option<unsafe extern "C" fn(_id: bgfx_view_id_t, _flags: u16, _depth: f32, _stencil: u8, _c0: u8, _c1: u8, _c2: u8, _c3: u8, _c4: u8, _c5: u8, _c6: u8, _c7: u8)>, pub set_view_mode: Option<unsafe extern "C" fn(_id: bgfx_view_id_t, _mode: bgfx_view_mode_t)>, pub set_view_frame_buffer: Option<unsafe extern "C" fn(_id: bgfx_view_id_t, _handle: bgfx_frame_buffer_handle_t)>, pub set_view_transform: Option<unsafe extern "C" fn(_id: bgfx_view_id_t, _view: *const c_void, _proj: *const c_void)>, pub set_view_order: Option<unsafe extern "C" fn(_id: bgfx_view_id_t, _num: u16, _order: *const bgfx_view_id_t)>, pub reset_view: Option<unsafe extern "C" fn(_id: bgfx_view_id_t)>, pub encoder_begin: Option<unsafe extern "C" fn(_forThread: bool) -> *mut bgfx_encoder_t>, pub encoder_end: Option<unsafe extern "C" fn(_encoder: *mut bgfx_encoder_t)>, pub encoder_set_marker: Option<unsafe extern "C" fn(_this: *mut bgfx_encoder_t, _marker: *const c_char)>, pub encoder_set_state: Option<unsafe extern "C" fn(_this: *mut bgfx_encoder_t, _state: u64, _rgba: u32)>, pub encoder_set_condition: Option<unsafe extern "C" fn(_this: *mut bgfx_encoder_t, _handle: bgfx_occlusion_query_handle_t, _visible: bool)>, pub encoder_set_stencil: Option<unsafe extern "C" fn(_this: *mut bgfx_encoder_t, _fstencil: u32, _bstencil: u32)>, pub encoder_set_scissor: Option<unsafe extern "C" fn(_this: *mut bgfx_encoder_t, _x: u16, _y: u16, _width: u16, _height: u16) -> u16>, pub encoder_set_scissor_cached: Option<unsafe extern "C" fn(_this: *mut bgfx_encoder_t, _cache: u16)>, pub encoder_set_transform: Option<unsafe extern "C" fn(_this: *mut bgfx_encoder_t, _mtx: *const c_void, _num: u16) -> u32>, pub encoder_set_transform_cached: Option<unsafe extern "C" fn(_this: *mut bgfx_encoder_t, _cache: u32, _num: u16)>, pub encoder_alloc_transform: Option<unsafe extern "C" fn(_this: *mut bgfx_encoder_t, _transform: *mut bgfx_transform_t, _num: u16) -> u32>, pub encoder_set_uniform: Option<unsafe extern "C" fn(_this: *mut bgfx_encoder_t, _handle: bgfx_uniform_handle_t, _value: *const c_void, _num: u16)>, pub encoder_set_index_buffer: Option<unsafe extern "C" fn(_this: *mut bgfx_encoder_t, _handle: bgfx_index_buffer_handle_t, _firstIndex: u32, _numIndices: u32)>, pub encoder_set_dynamic_index_buffer: Option<unsafe extern "C" fn(_this: *mut bgfx_encoder_t, _handle: bgfx_dynamic_index_buffer_handle_t, _firstIndex: u32, _numIndices: u32)>, pub encoder_set_transient_index_buffer: Option<unsafe extern "C" fn(_this: *mut bgfx_encoder_t, _tib: *const bgfx_transient_index_buffer_t, _firstIndex: u32, _numIndices: u32)>, pub encoder_set_vertex_buffer: Option<unsafe extern "C" fn(_this: *mut bgfx_encoder_t, _stream: u8, _handle: bgfx_vertex_buffer_handle_t, _startVertex: u32, _numVertices: u32)>, pub encoder_set_vertex_buffer_with_layout: Option<unsafe extern "C" fn(_this: *mut bgfx_encoder_t, _stream: u8, _handle: bgfx_vertex_buffer_handle_t, _startVertex: u32, _numVertices: u32, _layoutHandle: bgfx_vertex_layout_handle_t)>, pub encoder_set_dynamic_vertex_buffer: Option<unsafe extern "C" fn(_this: *mut bgfx_encoder_t, _stream: u8, _handle: bgfx_dynamic_vertex_buffer_handle_t, _startVertex: u32, _numVertices: u32)>, pub encoder_set_dynamic_vertex_buffer_with_layout: Option<unsafe extern "C" fn(_this: *mut bgfx_encoder_t, _stream: u8, _handle: bgfx_dynamic_vertex_buffer_handle_t, _startVertex: u32, _numVertices: u32, _layoutHandle: bgfx_vertex_layout_handle_t)>, pub encoder_set_transient_vertex_buffer: Option<unsafe extern "C" fn(_this: *mut bgfx_encoder_t, _stream: u8, _tvb: *const bgfx_transient_vertex_buffer_t, _startVertex: u32, _numVertices: u32)>, pub encoder_set_transient_vertex_buffer_with_layout: Option<unsafe extern "C" fn(_this: *mut bgfx_encoder_t, _stream: u8, _tvb: *const bgfx_transient_vertex_buffer_t, _startVertex: u32, _numVertices: u32, _layoutHandle: bgfx_vertex_layout_handle_t)>, pub encoder_set_vertex_count: Option<unsafe extern "C" fn(_this: *mut bgfx_encoder_t, _numVertices: u32)>, pub encoder_set_instance_data_buffer: Option<unsafe extern "C" fn(_this: *mut bgfx_encoder_t, _idb: *const bgfx_instance_data_buffer_t, _start: u32, _num: u32)>, pub encoder_set_instance_data_from_vertex_buffer: Option<unsafe extern "C" fn(_this: *mut bgfx_encoder_t, _handle: bgfx_vertex_buffer_handle_t, _startVertex: u32, _num: u32)>, pub encoder_set_instance_data_from_dynamic_vertex_buffer: Option<unsafe extern "C" fn(_this: *mut bgfx_encoder_t, _handle: bgfx_dynamic_vertex_buffer_handle_t, _startVertex: u32, _num: u32)>, pub encoder_set_instance_count: Option<unsafe extern "C" fn(_this: *mut bgfx_encoder_t, _numInstances: u32)>, pub encoder_set_texture: Option<unsafe extern "C" fn(_this: *mut bgfx_encoder_t, _stage: u8, _sampler: bgfx_uniform_handle_t, _handle: bgfx_texture_handle_t, _flags: u32)>, pub encoder_touch: Option<unsafe extern "C" fn(_this: *mut bgfx_encoder_t, _id: bgfx_view_id_t)>, pub encoder_submit: Option<unsafe extern "C" fn(_this: *mut bgfx_encoder_t, _id: bgfx_view_id_t, _program: bgfx_program_handle_t, _depth: u32, _flags: u8)>, pub encoder_submit_occlusion_query: Option<unsafe extern "C" fn(_this: *mut bgfx_encoder_t, _id: bgfx_view_id_t, _program: bgfx_program_handle_t, _occlusionQuery: bgfx_occlusion_query_handle_t, _depth: u32, _flags: u8)>, pub encoder_submit_indirect: Option<unsafe extern "C" fn(_this: *mut bgfx_encoder_t, _id: bgfx_view_id_t, _program: bgfx_program_handle_t, _indirectHandle: bgfx_indirect_buffer_handle_t, _start: u16, _num: u16, _depth: u32, _flags: u8)>, pub encoder_set_compute_index_buffer: Option<unsafe extern "C" fn(_this: *mut bgfx_encoder_t, _stage: u8, _handle: bgfx_index_buffer_handle_t, _access: bgfx_access_t)>, pub encoder_set_compute_vertex_buffer: Option<unsafe extern "C" fn(_this: *mut bgfx_encoder_t, _stage: u8, _handle: bgfx_vertex_buffer_handle_t, _access: bgfx_access_t)>, pub encoder_set_compute_dynamic_index_buffer: Option<unsafe extern "C" fn(_this: *mut bgfx_encoder_t, _stage: u8, _handle: bgfx_dynamic_index_buffer_handle_t, _access: bgfx_access_t)>, pub encoder_set_compute_dynamic_vertex_buffer: Option<unsafe extern "C" fn(_this: *mut bgfx_encoder_t, _stage: u8, _handle: bgfx_dynamic_vertex_buffer_handle_t, _access: bgfx_access_t)>, pub encoder_set_compute_indirect_buffer: Option<unsafe extern "C" fn(_this: *mut bgfx_encoder_t, _stage: u8, _handle: bgfx_indirect_buffer_handle_t, _access: bgfx_access_t)>, pub encoder_set_image: Option<unsafe extern "C" fn(_this: *mut bgfx_encoder_t, _stage: u8, _handle: bgfx_texture_handle_t, _mip: u8, _access: bgfx_access_t, _format: bgfx_texture_format_t)>, pub encoder_dispatch: Option<unsafe extern "C" fn(_this: *mut bgfx_encoder_t, _id: bgfx_view_id_t, _program: bgfx_program_handle_t, _numX: u32, _numY: u32, _numZ: u32, _flags: u8)>, pub encoder_dispatch_indirect: Option<unsafe extern "C" fn(_this: *mut bgfx_encoder_t, _id: bgfx_view_id_t, _program: bgfx_program_handle_t, _indirectHandle: bgfx_indirect_buffer_handle_t, _start: u16, _num: u16, _flags: u8)>, pub encoder_discard: Option<unsafe extern "C" fn(_this: *mut bgfx_encoder_t, _flags: u8)>, pub encoder_blit: Option<unsafe extern "C" fn(_this: *mut bgfx_encoder_t, _id: bgfx_view_id_t, _dst: bgfx_texture_handle_t, _dstMip: u8, _dstX: u16, _dstY: u16, _dstZ: u16, _src: bgfx_texture_handle_t, _srcMip: u8, _srcX: u16, _srcY: u16, _srcZ: u16, _width: u16, _height: u16, _depth: u16)>, pub request_screen_shot: Option<unsafe extern "C" fn(_handle: bgfx_frame_buffer_handle_t, _filePath: *const c_char)>, pub render_frame: Option<unsafe extern "C" fn(_msecs: i32) -> bgfx_render_frame_t>, pub set_platform_data: Option<unsafe extern "C" fn(_data: *const bgfx_platform_data_t)>, pub get_internal_data: Option<unsafe extern "C" fn() -> *const bgfx_internal_data_t>, pub override_internal_texture_ptr: Option<unsafe extern "C" fn(_handle: bgfx_texture_handle_t, _ptr: usize) -> usize>, pub override_internal_texture: Option<unsafe extern "C" fn(_handle: bgfx_texture_handle_t, _width: u16, _height: u16, _numMips: u8, _format: bgfx_texture_format_t, _flags: u64) -> usize>, pub set_marker: Option<unsafe extern "C" fn(_marker: *const c_char)>, pub set_state: Option<unsafe extern "C" fn(_state: u64, _rgba: u32)>, pub set_condition: Option<unsafe extern "C" fn(_handle: bgfx_occlusion_query_handle_t, _visible: bool)>, pub set_stencil: Option<unsafe extern "C" fn(_fstencil: u32, _bstencil: u32)>, pub set_scissor: Option<unsafe extern "C" fn(_x: u16, _y: u16, _width: u16, _height: u16) -> u16>, pub set_scissor_cached: Option<unsafe extern "C" fn(_cache: u16)>, pub set_transform: Option<unsafe extern "C" fn(_mtx: *const c_void, _num: u16) -> u32>, pub set_transform_cached: Option<unsafe extern "C" fn(_cache: u32, _num: u16)>, pub alloc_transform: Option<unsafe extern "C" fn(_transform: *mut bgfx_transform_t, _num: u16) -> u32>, pub set_uniform: Option<unsafe extern "C" fn(_handle: bgfx_uniform_handle_t, _value: *const c_void, _num: u16)>, pub set_index_buffer: Option<unsafe extern "C" fn(_handle: bgfx_index_buffer_handle_t, _firstIndex: u32, _numIndices: u32)>, pub set_dynamic_index_buffer: Option<unsafe extern "C" fn(_handle: bgfx_dynamic_index_buffer_handle_t, _firstIndex: u32, _numIndices: u32)>, pub set_transient_index_buffer: Option<unsafe extern "C" fn(_tib: *const bgfx_transient_index_buffer_t, _firstIndex: u32, _numIndices: u32)>, pub set_vertex_buffer: Option<unsafe extern "C" fn(_stream: u8, _handle: bgfx_vertex_buffer_handle_t, _startVertex: u32, _numVertices: u32)>, pub set_vertex_buffer_with_layout: Option<unsafe extern "C" fn(_stream: u8, _handle: bgfx_vertex_buffer_handle_t, _startVertex: u32, _numVertices: u32, _layoutHandle: bgfx_vertex_layout_handle_t)>, pub set_dynamic_vertex_buffer: Option<unsafe extern "C" fn(_stream: u8, _handle: bgfx_dynamic_vertex_buffer_handle_t, _startVertex: u32, _numVertices: u32)>, pub set_dynamic_vertex_buffer_with_layout: Option<unsafe extern "C" fn(_stream: u8, _handle: bgfx_dynamic_vertex_buffer_handle_t, _startVertex: u32, _numVertices: u32, _layoutHandle: bgfx_vertex_layout_handle_t)>, pub set_transient_vertex_buffer: Option<unsafe extern "C" fn(_stream: u8, _tvb: *const bgfx_transient_vertex_buffer_t, _startVertex: u32, _numVertices: u32)>, pub set_transient_vertex_buffer_with_layout: Option<unsafe extern "C" fn(_stream: u8, _tvb: *const bgfx_transient_vertex_buffer_t, _startVertex: u32, _numVertices: u32, _layoutHandle: bgfx_vertex_layout_handle_t)>, pub set_vertex_count: Option<unsafe extern "C" fn(_numVertices: u32)>, pub set_instance_data_buffer: Option<unsafe extern "C" fn(_idb: *const bgfx_instance_data_buffer_t, _start: u32, _num: u32)>, pub set_instance_data_from_vertex_buffer: Option<unsafe extern "C" fn(_handle: bgfx_vertex_buffer_handle_t, _startVertex: u32, _num: u32)>, pub set_instance_data_from_dynamic_vertex_buffer: Option<unsafe extern "C" fn(_handle: bgfx_dynamic_vertex_buffer_handle_t, _startVertex: u32, _num: u32)>, pub set_instance_count: Option<unsafe extern "C" fn(_numInstances: u32)>, pub set_texture: Option<unsafe extern "C" fn(_stage: u8, _sampler: bgfx_uniform_handle_t, _handle: bgfx_texture_handle_t, _flags: u32)>, pub touch: Option<unsafe extern "C" fn(_id: bgfx_view_id_t)>, pub submit: Option<unsafe extern "C" fn(_id: bgfx_view_id_t, _program: bgfx_program_handle_t, _depth: u32, _flags: u8)>, pub submit_occlusion_query: Option<unsafe extern "C" fn(_id: bgfx_view_id_t, _program: bgfx_program_handle_t, _occlusionQuery: bgfx_occlusion_query_handle_t, _depth: u32, _flags: u8)>, pub submit_indirect: Option<unsafe extern "C" fn(_id: bgfx_view_id_t, _program: bgfx_program_handle_t, _indirectHandle: bgfx_indirect_buffer_handle_t, _start: u16, _num: u16, _depth: u32, _flags: u8)>, pub set_compute_index_buffer: Option<unsafe extern "C" fn(_stage: u8, _handle: bgfx_index_buffer_handle_t, _access: bgfx_access_t)>, pub set_compute_vertex_buffer: Option<unsafe extern "C" fn(_stage: u8, _handle: bgfx_vertex_buffer_handle_t, _access: bgfx_access_t)>, pub set_compute_dynamic_index_buffer: Option<unsafe extern "C" fn(_stage: u8, _handle: bgfx_dynamic_index_buffer_handle_t, _access: bgfx_access_t)>, pub set_compute_dynamic_vertex_buffer: Option<unsafe extern "C" fn(_stage: u8, _handle: bgfx_dynamic_vertex_buffer_handle_t, _access: bgfx_access_t)>, pub set_compute_indirect_buffer: Option<unsafe extern "C" fn(_stage: u8, _handle: bgfx_indirect_buffer_handle_t, _access: bgfx_access_t)>, pub set_image: Option<unsafe extern "C" fn(_stage: u8, _handle: bgfx_texture_handle_t, _mip: u8, _access: bgfx_access_t, _format: bgfx_texture_format_t)>, pub dispatch: Option<unsafe extern "C" fn(_id: bgfx_view_id_t, _program: bgfx_program_handle_t, _numX: u32, _numY: u32, _numZ: u32, _flags: u8)>, pub dispatch_indirect: Option<unsafe extern "C" fn(_id: bgfx_view_id_t, _program: bgfx_program_handle_t, _indirectHandle: bgfx_indirect_buffer_handle_t, _start: u16, _num: u16, _flags: u8)>, pub discard: Option<unsafe extern "C" fn(_flags: u8)>, pub blit: Option<unsafe extern "C" fn(_id: bgfx_view_id_t, _dst: bgfx_texture_handle_t, _dstMip: u8, _dstX: u16, _dstY: u16, _dstZ: u16, _src: bgfx_texture_handle_t, _srcMip: u8, _srcX: u16, _srcY: u16, _srcZ: u16, _width: u16, _height: u16, _depth: u16)>,
Fields
attachment_init: Option<unsafe extern "C" fn(_this: *mut bgfx_attachment_t, _handle: bgfx_texture_handle_t, _access: bgfx_access_t, _layer: u16, _numLayers: u16, _mip: u16, _resolve: u8)>
vertex_layout_begin: Option<unsafe extern "C" fn(_this: *mut bgfx_vertex_layout_t, _rendererType: bgfx_renderer_type_t) -> *mut bgfx_vertex_layout_t>
vertex_layout_add: Option<unsafe extern "C" fn(_this: *mut bgfx_vertex_layout_t, _attrib: bgfx_attrib_t, _num: u8, _type: bgfx_attrib_type_t, _normalized: bool, _asInt: bool) -> *mut bgfx_vertex_layout_t>
vertex_layout_decode: Option<unsafe extern "C" fn(_this: *const bgfx_vertex_layout_t, _attrib: bgfx_attrib_t, _num: *mut u8, _type: *mut bgfx_attrib_type_t, _normalized: *mut bool, _asInt: *mut bool)>
vertex_layout_has: Option<unsafe extern "C" fn(_this: *const bgfx_vertex_layout_t, _attrib: bgfx_attrib_t) -> bool>
vertex_layout_skip: Option<unsafe extern "C" fn(_this: *mut bgfx_vertex_layout_t, _num: u8) -> *mut bgfx_vertex_layout_t>
vertex_layout_end: Option<unsafe extern "C" fn(_this: *mut bgfx_vertex_layout_t)>
vertex_pack: Option<unsafe extern "C" fn(_input: *const f32, _inputNormalized: bool, _attr: bgfx_attrib_t, _layout: *const bgfx_vertex_layout_t, _data: *mut c_void, _index: u32)>
vertex_unpack: Option<unsafe extern "C" fn(_output: *mut f32, _attr: bgfx_attrib_t, _layout: *const bgfx_vertex_layout_t, _data: *const c_void, _index: u32)>
vertex_convert: Option<unsafe extern "C" fn(_dstLayout: *const bgfx_vertex_layout_t, _dstData: *mut c_void, _srcLayout: *const bgfx_vertex_layout_t, _srcData: *const c_void, _num: u32)>
weld_vertices: Option<unsafe extern "C" fn(_output: *mut c_void, _layout: *const bgfx_vertex_layout_t, _data: *const c_void, _num: u32, _index32: bool, _epsilon: f32) -> u32>
topology_convert: Option<unsafe extern "C" fn(_conversion: bgfx_topology_convert_t, _dst: *mut c_void, _dstSize: u32, _indices: *const c_void, _numIndices: u32, _index32: bool) -> u32>
topology_sort_tri_list: Option<unsafe extern "C" fn(_sort: bgfx_topology_sort_t, _dst: *mut c_void, _dstSize: u32, _dir: *const f32, _pos: *const f32, _vertices: *const c_void, _stride: u32, _indices: *const c_void, _numIndices: u32, _index32: bool)>
get_supported_renderers: Option<unsafe extern "C" fn(_max: u8, _enum: *mut bgfx_renderer_type_t) -> u8>
get_renderer_name: Option<unsafe extern "C" fn(_type: bgfx_renderer_type_t) -> *const c_char>
init_ctor: Option<unsafe extern "C" fn(_init: *mut bgfx_init_t)>
init: Option<unsafe extern "C" fn(_init: *const bgfx_init_t) -> bool>
shutdown: Option<unsafe extern "C" fn()>
reset: Option<unsafe extern "C" fn(_width: u32, _height: u32, _flags: u32, _format: bgfx_texture_format_t)>
frame: Option<unsafe extern "C" fn(_capture: bool) -> u32>
get_renderer_type: Option<unsafe extern "C" fn() -> bgfx_renderer_type_t>
get_caps: Option<unsafe extern "C" fn() -> *const bgfx_caps_t>
get_stats: Option<unsafe extern "C" fn() -> *const bgfx_stats_t>
alloc: Option<unsafe extern "C" fn(_size: u32) -> *const bgfx_memory_t>
copy: Option<unsafe extern "C" fn(_data: *const c_void, _size: u32) -> *const bgfx_memory_t>
make_ref: Option<unsafe extern "C" fn(_data: *const c_void, _size: u32) -> *const bgfx_memory_t>
make_ref_release: Option<unsafe extern "C" fn(_data: *const c_void, _size: u32, _releaseFn: bgfx_release_fn_t, _userData: *mut c_void) -> *const bgfx_memory_t>
set_debug: Option<unsafe extern "C" fn(_debug: u32)>
dbg_text_clear: Option<unsafe extern "C" fn(_attr: u8, _small: bool)>
dbg_text_printf: Option<unsafe extern "C" fn(_x: u16, _y: u16, _attr: u8, _format: *const c_char, ...)>
dbg_text_vprintf: Option<unsafe extern "C" fn(_x: u16, _y: u16, _attr: u8, _format: *const c_char, _argList: *mut __va_list_tag)>
dbg_text_image: Option<unsafe extern "C" fn(_x: u16, _y: u16, _width: u16, _height: u16, _data: *const c_void, _pitch: u16)>
create_index_buffer: Option<unsafe extern "C" fn(_mem: *const bgfx_memory_t, _flags: u16) -> bgfx_index_buffer_handle_t>
set_index_buffer_name: Option<unsafe extern "C" fn(_handle: bgfx_index_buffer_handle_t, _name: *const c_char, _len: i32)>
destroy_index_buffer: Option<unsafe extern "C" fn(_handle: bgfx_index_buffer_handle_t)>
create_vertex_layout: Option<unsafe extern "C" fn(_layout: *const bgfx_vertex_layout_t) -> bgfx_vertex_layout_handle_t>
destroy_vertex_layout: Option<unsafe extern "C" fn(_layoutHandle: bgfx_vertex_layout_handle_t)>
create_vertex_buffer: Option<unsafe extern "C" fn(_mem: *const bgfx_memory_t, _layout: *const bgfx_vertex_layout_t, _flags: u16) -> bgfx_vertex_buffer_handle_t>
set_vertex_buffer_name: Option<unsafe extern "C" fn(_handle: bgfx_vertex_buffer_handle_t, _name: *const c_char, _len: i32)>
destroy_vertex_buffer: Option<unsafe extern "C" fn(_handle: bgfx_vertex_buffer_handle_t)>
create_dynamic_index_buffer: Option<unsafe extern "C" fn(_num: u32, _flags: u16) -> bgfx_dynamic_index_buffer_handle_t>
create_dynamic_index_buffer_mem: Option<unsafe extern "C" fn(_mem: *const bgfx_memory_t, _flags: u16) -> bgfx_dynamic_index_buffer_handle_t>
update_dynamic_index_buffer: Option<unsafe extern "C" fn(_handle: bgfx_dynamic_index_buffer_handle_t, _startIndex: u32, _mem: *const bgfx_memory_t)>
destroy_dynamic_index_buffer: Option<unsafe extern "C" fn(_handle: bgfx_dynamic_index_buffer_handle_t)>
create_dynamic_vertex_buffer: Option<unsafe extern "C" fn(_num: u32, _layout: *const bgfx_vertex_layout_t, _flags: u16) -> bgfx_dynamic_vertex_buffer_handle_t>
create_dynamic_vertex_buffer_mem: Option<unsafe extern "C" fn(_mem: *const bgfx_memory_t, _layout: *const bgfx_vertex_layout_t, _flags: u16) -> bgfx_dynamic_vertex_buffer_handle_t>
update_dynamic_vertex_buffer: Option<unsafe extern "C" fn(_handle: bgfx_dynamic_vertex_buffer_handle_t, _startVertex: u32, _mem: *const bgfx_memory_t)>
destroy_dynamic_vertex_buffer: Option<unsafe extern "C" fn(_handle: bgfx_dynamic_vertex_buffer_handle_t)>
get_avail_transient_index_buffer: Option<unsafe extern "C" fn(_num: u32, _index32: bool) -> u32>
get_avail_transient_vertex_buffer: Option<unsafe extern "C" fn(_num: u32, _layout: *const bgfx_vertex_layout_t) -> u32>
get_avail_instance_data_buffer: Option<unsafe extern "C" fn(_num: u32, _stride: u16) -> u32>
alloc_transient_index_buffer: Option<unsafe extern "C" fn(_tib: *mut bgfx_transient_index_buffer_t, _num: u32, _index32: bool)>
alloc_transient_vertex_buffer: Option<unsafe extern "C" fn(_tvb: *mut bgfx_transient_vertex_buffer_t, _num: u32, _layout: *const bgfx_vertex_layout_t)>
alloc_transient_buffers: Option<unsafe extern "C" fn(_tvb: *mut bgfx_transient_vertex_buffer_t, _layout: *const bgfx_vertex_layout_t, _numVertices: u32, _tib: *mut bgfx_transient_index_buffer_t, _numIndices: u32, _index32: bool) -> bool>
alloc_instance_data_buffer: Option<unsafe extern "C" fn(_idb: *mut bgfx_instance_data_buffer_t, _num: u32, _stride: u16)>
create_indirect_buffer: Option<unsafe extern "C" fn(_num: u32) -> bgfx_indirect_buffer_handle_t>
destroy_indirect_buffer: Option<unsafe extern "C" fn(_handle: bgfx_indirect_buffer_handle_t)>
create_shader: Option<unsafe extern "C" fn(_mem: *const bgfx_memory_t) -> bgfx_shader_handle_t>
get_shader_uniforms: Option<unsafe extern "C" fn(_handle: bgfx_shader_handle_t, _uniforms: *mut bgfx_uniform_handle_t, _max: u16) -> u16>
set_shader_name: Option<unsafe extern "C" fn(_handle: bgfx_shader_handle_t, _name: *const c_char, _len: i32)>
destroy_shader: Option<unsafe extern "C" fn(_handle: bgfx_shader_handle_t)>
create_program: Option<unsafe extern "C" fn(_vsh: bgfx_shader_handle_t, _fsh: bgfx_shader_handle_t, _destroyShaders: bool) -> bgfx_program_handle_t>
create_compute_program: Option<unsafe extern "C" fn(_csh: bgfx_shader_handle_t, _destroyShaders: bool) -> bgfx_program_handle_t>
destroy_program: Option<unsafe extern "C" fn(_handle: bgfx_program_handle_t)>
is_texture_valid: Option<unsafe extern "C" fn(_depth: u16, _cubeMap: bool, _numLayers: u16, _format: bgfx_texture_format_t, _flags: u64) -> bool>
is_frame_buffer_valid: Option<unsafe extern "C" fn(_num: u8, _attachment: *const bgfx_attachment_t) -> bool>
calc_texture_size: Option<unsafe extern "C" fn(_info: *mut bgfx_texture_info_t, _width: u16, _height: u16, _depth: u16, _cubeMap: bool, _hasMips: bool, _numLayers: u16, _format: bgfx_texture_format_t)>
create_texture: Option<unsafe extern "C" fn(_mem: *const bgfx_memory_t, _flags: u64, _skip: u8, _info: *mut bgfx_texture_info_t) -> bgfx_texture_handle_t>
create_texture_2d: Option<unsafe extern "C" fn(_width: u16, _height: u16, _hasMips: bool, _numLayers: u16, _format: bgfx_texture_format_t, _flags: u64, _mem: *const bgfx_memory_t) -> bgfx_texture_handle_t>
create_texture_2d_scaled: Option<unsafe extern "C" fn(_ratio: bgfx_backbuffer_ratio_t, _hasMips: bool, _numLayers: u16, _format: bgfx_texture_format_t, _flags: u64) -> bgfx_texture_handle_t>
create_texture_3d: Option<unsafe extern "C" fn(_width: u16, _height: u16, _depth: u16, _hasMips: bool, _format: bgfx_texture_format_t, _flags: u64, _mem: *const bgfx_memory_t) -> bgfx_texture_handle_t>
create_texture_cube: Option<unsafe extern "C" fn(_size: u16, _hasMips: bool, _numLayers: u16, _format: bgfx_texture_format_t, _flags: u64, _mem: *const bgfx_memory_t) -> bgfx_texture_handle_t>
update_texture_2d: Option<unsafe extern "C" fn(_handle: bgfx_texture_handle_t, _layer: u16, _mip: u8, _x: u16, _y: u16, _width: u16, _height: u16, _mem: *const bgfx_memory_t, _pitch: u16)>
update_texture_3d: Option<unsafe extern "C" fn(_handle: bgfx_texture_handle_t, _mip: u8, _x: u16, _y: u16, _z: u16, _width: u16, _height: u16, _depth: u16, _mem: *const bgfx_memory_t)>
update_texture_cube: Option<unsafe extern "C" fn(_handle: bgfx_texture_handle_t, _layer: u16, _side: u8, _mip: u8, _x: u16, _y: u16, _width: u16, _height: u16, _mem: *const bgfx_memory_t, _pitch: u16)>
read_texture: Option<unsafe extern "C" fn(_handle: bgfx_texture_handle_t, _data: *mut c_void, _mip: u8) -> u32>
set_texture_name: Option<unsafe extern "C" fn(_handle: bgfx_texture_handle_t, _name: *const c_char, _len: i32)>
get_direct_access_ptr: Option<unsafe extern "C" fn(_handle: bgfx_texture_handle_t) -> *mut c_void>
destroy_texture: Option<unsafe extern "C" fn(_handle: bgfx_texture_handle_t)>
create_frame_buffer: Option<unsafe extern "C" fn(_width: u16, _height: u16, _format: bgfx_texture_format_t, _textureFlags: u64) -> bgfx_frame_buffer_handle_t>
create_frame_buffer_scaled: Option<unsafe extern "C" fn(_ratio: bgfx_backbuffer_ratio_t, _format: bgfx_texture_format_t, _textureFlags: u64) -> bgfx_frame_buffer_handle_t>
create_frame_buffer_from_handles: Option<unsafe extern "C" fn(_num: u8, _handles: *const bgfx_texture_handle_t, _destroyTexture: bool) -> bgfx_frame_buffer_handle_t>
create_frame_buffer_from_attachment: Option<unsafe extern "C" fn(_num: u8, _attachment: *const bgfx_attachment_t, _destroyTexture: bool) -> bgfx_frame_buffer_handle_t>
create_frame_buffer_from_nwh: Option<unsafe extern "C" fn(_nwh: *mut c_void, _width: u16, _height: u16, _format: bgfx_texture_format_t, _depthFormat: bgfx_texture_format_t) -> bgfx_frame_buffer_handle_t>
set_frame_buffer_name: Option<unsafe extern "C" fn(_handle: bgfx_frame_buffer_handle_t, _name: *const c_char, _len: i32)>
get_texture: Option<unsafe extern "C" fn(_handle: bgfx_frame_buffer_handle_t, _attachment: u8) -> bgfx_texture_handle_t>
destroy_frame_buffer: Option<unsafe extern "C" fn(_handle: bgfx_frame_buffer_handle_t)>
create_uniform: Option<unsafe extern "C" fn(_name: *const c_char, _type: bgfx_uniform_type_t, _num: u16) -> bgfx_uniform_handle_t>
get_uniform_info: Option<unsafe extern "C" fn(_handle: bgfx_uniform_handle_t, _info: *mut bgfx_uniform_info_t)>
destroy_uniform: Option<unsafe extern "C" fn(_handle: bgfx_uniform_handle_t)>
create_occlusion_query: Option<unsafe extern "C" fn() -> bgfx_occlusion_query_handle_t>
get_result: Option<unsafe extern "C" fn(_handle: bgfx_occlusion_query_handle_t, _result: *mut i32) -> bgfx_occlusion_query_result_t>
destroy_occlusion_query: Option<unsafe extern "C" fn(_handle: bgfx_occlusion_query_handle_t)>
set_palette_color: Option<unsafe extern "C" fn(_index: u8, _rgba: *const f32)>
set_palette_color_rgba8: Option<unsafe extern "C" fn(_index: u8, _rgba: u32)>
set_view_name: Option<unsafe extern "C" fn(_id: bgfx_view_id_t, _name: *const c_char)>
set_view_rect: Option<unsafe extern "C" fn(_id: bgfx_view_id_t, _x: u16, _y: u16, _width: u16, _height: u16)>
set_view_rect_ratio: Option<unsafe extern "C" fn(_id: bgfx_view_id_t, _x: u16, _y: u16, _ratio: bgfx_backbuffer_ratio_t)>
set_view_scissor: Option<unsafe extern "C" fn(_id: bgfx_view_id_t, _x: u16, _y: u16, _width: u16, _height: u16)>
set_view_clear: Option<unsafe extern "C" fn(_id: bgfx_view_id_t, _flags: u16, _rgba: u32, _depth: f32, _stencil: u8)>
set_view_clear_mrt: Option<unsafe extern "C" fn(_id: bgfx_view_id_t, _flags: u16, _depth: f32, _stencil: u8, _c0: u8, _c1: u8, _c2: u8, _c3: u8, _c4: u8, _c5: u8, _c6: u8, _c7: u8)>
set_view_mode: Option<unsafe extern "C" fn(_id: bgfx_view_id_t, _mode: bgfx_view_mode_t)>
set_view_frame_buffer: Option<unsafe extern "C" fn(_id: bgfx_view_id_t, _handle: bgfx_frame_buffer_handle_t)>
set_view_transform: Option<unsafe extern "C" fn(_id: bgfx_view_id_t, _view: *const c_void, _proj: *const c_void)>
set_view_order: Option<unsafe extern "C" fn(_id: bgfx_view_id_t, _num: u16, _order: *const bgfx_view_id_t)>
reset_view: Option<unsafe extern "C" fn(_id: bgfx_view_id_t)>
encoder_begin: Option<unsafe extern "C" fn(_forThread: bool) -> *mut bgfx_encoder_t>
encoder_end: Option<unsafe extern "C" fn(_encoder: *mut bgfx_encoder_t)>
encoder_set_marker: Option<unsafe extern "C" fn(_this: *mut bgfx_encoder_t, _marker: *const c_char)>
encoder_set_state: Option<unsafe extern "C" fn(_this: *mut bgfx_encoder_t, _state: u64, _rgba: u32)>
encoder_set_condition: Option<unsafe extern "C" fn(_this: *mut bgfx_encoder_t, _handle: bgfx_occlusion_query_handle_t, _visible: bool)>
encoder_set_stencil: Option<unsafe extern "C" fn(_this: *mut bgfx_encoder_t, _fstencil: u32, _bstencil: u32)>
encoder_set_scissor: Option<unsafe extern "C" fn(_this: *mut bgfx_encoder_t, _x: u16, _y: u16, _width: u16, _height: u16) -> u16>
encoder_set_scissor_cached: Option<unsafe extern "C" fn(_this: *mut bgfx_encoder_t, _cache: u16)>
encoder_set_transform: Option<unsafe extern "C" fn(_this: *mut bgfx_encoder_t, _mtx: *const c_void, _num: u16) -> u32>
encoder_set_transform_cached: Option<unsafe extern "C" fn(_this: *mut bgfx_encoder_t, _cache: u32, _num: u16)>
encoder_alloc_transform: Option<unsafe extern "C" fn(_this: *mut bgfx_encoder_t, _transform: *mut bgfx_transform_t, _num: u16) -> u32>
encoder_set_uniform: Option<unsafe extern "C" fn(_this: *mut bgfx_encoder_t, _handle: bgfx_uniform_handle_t, _value: *const c_void, _num: u16)>
encoder_set_index_buffer: Option<unsafe extern "C" fn(_this: *mut bgfx_encoder_t, _handle: bgfx_index_buffer_handle_t, _firstIndex: u32, _numIndices: u32)>
encoder_set_dynamic_index_buffer: Option<unsafe extern "C" fn(_this: *mut bgfx_encoder_t, _handle: bgfx_dynamic_index_buffer_handle_t, _firstIndex: u32, _numIndices: u32)>
encoder_set_transient_index_buffer: Option<unsafe extern "C" fn(_this: *mut bgfx_encoder_t, _tib: *const bgfx_transient_index_buffer_t, _firstIndex: u32, _numIndices: u32)>
encoder_set_vertex_buffer: Option<unsafe extern "C" fn(_this: *mut bgfx_encoder_t, _stream: u8, _handle: bgfx_vertex_buffer_handle_t, _startVertex: u32, _numVertices: u32)>
encoder_set_vertex_buffer_with_layout: Option<unsafe extern "C" fn(_this: *mut bgfx_encoder_t, _stream: u8, _handle: bgfx_vertex_buffer_handle_t, _startVertex: u32, _numVertices: u32, _layoutHandle: bgfx_vertex_layout_handle_t)>
encoder_set_dynamic_vertex_buffer: Option<unsafe extern "C" fn(_this: *mut bgfx_encoder_t, _stream: u8, _handle: bgfx_dynamic_vertex_buffer_handle_t, _startVertex: u32, _numVertices: u32)>
encoder_set_dynamic_vertex_buffer_with_layout: Option<unsafe extern "C" fn(_this: *mut bgfx_encoder_t, _stream: u8, _handle: bgfx_dynamic_vertex_buffer_handle_t, _startVertex: u32, _numVertices: u32, _layoutHandle: bgfx_vertex_layout_handle_t)>
encoder_set_transient_vertex_buffer: Option<unsafe extern "C" fn(_this: *mut bgfx_encoder_t, _stream: u8, _tvb: *const bgfx_transient_vertex_buffer_t, _startVertex: u32, _numVertices: u32)>
encoder_set_transient_vertex_buffer_with_layout: Option<unsafe extern "C" fn(_this: *mut bgfx_encoder_t, _stream: u8, _tvb: *const bgfx_transient_vertex_buffer_t, _startVertex: u32, _numVertices: u32, _layoutHandle: bgfx_vertex_layout_handle_t)>
encoder_set_vertex_count: Option<unsafe extern "C" fn(_this: *mut bgfx_encoder_t, _numVertices: u32)>
encoder_set_instance_data_buffer: Option<unsafe extern "C" fn(_this: *mut bgfx_encoder_t, _idb: *const bgfx_instance_data_buffer_t, _start: u32, _num: u32)>
encoder_set_instance_data_from_vertex_buffer: Option<unsafe extern "C" fn(_this: *mut bgfx_encoder_t, _handle: bgfx_vertex_buffer_handle_t, _startVertex: u32, _num: u32)>
encoder_set_instance_data_from_dynamic_vertex_buffer: Option<unsafe extern "C" fn(_this: *mut bgfx_encoder_t, _handle: bgfx_dynamic_vertex_buffer_handle_t, _startVertex: u32, _num: u32)>
encoder_set_instance_count: Option<unsafe extern "C" fn(_this: *mut bgfx_encoder_t, _numInstances: u32)>
encoder_set_texture: Option<unsafe extern "C" fn(_this: *mut bgfx_encoder_t, _stage: u8, _sampler: bgfx_uniform_handle_t, _handle: bgfx_texture_handle_t, _flags: u32)>
encoder_touch: Option<unsafe extern "C" fn(_this: *mut bgfx_encoder_t, _id: bgfx_view_id_t)>
encoder_submit: Option<unsafe extern "C" fn(_this: *mut bgfx_encoder_t, _id: bgfx_view_id_t, _program: bgfx_program_handle_t, _depth: u32, _flags: u8)>
encoder_submit_occlusion_query: Option<unsafe extern "C" fn(_this: *mut bgfx_encoder_t, _id: bgfx_view_id_t, _program: bgfx_program_handle_t, _occlusionQuery: bgfx_occlusion_query_handle_t, _depth: u32, _flags: u8)>
encoder_submit_indirect: Option<unsafe extern "C" fn(_this: *mut bgfx_encoder_t, _id: bgfx_view_id_t, _program: bgfx_program_handle_t, _indirectHandle: bgfx_indirect_buffer_handle_t, _start: u16, _num: u16, _depth: u32, _flags: u8)>
encoder_set_compute_index_buffer: Option<unsafe extern "C" fn(_this: *mut bgfx_encoder_t, _stage: u8, _handle: bgfx_index_buffer_handle_t, _access: bgfx_access_t)>
encoder_set_compute_vertex_buffer: Option<unsafe extern "C" fn(_this: *mut bgfx_encoder_t, _stage: u8, _handle: bgfx_vertex_buffer_handle_t, _access: bgfx_access_t)>
encoder_set_compute_dynamic_index_buffer: Option<unsafe extern "C" fn(_this: *mut bgfx_encoder_t, _stage: u8, _handle: bgfx_dynamic_index_buffer_handle_t, _access: bgfx_access_t)>
encoder_set_compute_dynamic_vertex_buffer: Option<unsafe extern "C" fn(_this: *mut bgfx_encoder_t, _stage: u8, _handle: bgfx_dynamic_vertex_buffer_handle_t, _access: bgfx_access_t)>
encoder_set_compute_indirect_buffer: Option<unsafe extern "C" fn(_this: *mut bgfx_encoder_t, _stage: u8, _handle: bgfx_indirect_buffer_handle_t, _access: bgfx_access_t)>
encoder_set_image: Option<unsafe extern "C" fn(_this: *mut bgfx_encoder_t, _stage: u8, _handle: bgfx_texture_handle_t, _mip: u8, _access: bgfx_access_t, _format: bgfx_texture_format_t)>
encoder_dispatch: Option<unsafe extern "C" fn(_this: *mut bgfx_encoder_t, _id: bgfx_view_id_t, _program: bgfx_program_handle_t, _numX: u32, _numY: u32, _numZ: u32, _flags: u8)>
encoder_dispatch_indirect: Option<unsafe extern "C" fn(_this: *mut bgfx_encoder_t, _id: bgfx_view_id_t, _program: bgfx_program_handle_t, _indirectHandle: bgfx_indirect_buffer_handle_t, _start: u16, _num: u16, _flags: u8)>
encoder_discard: Option<unsafe extern "C" fn(_this: *mut bgfx_encoder_t, _flags: u8)>
encoder_blit: Option<unsafe extern "C" fn(_this: *mut bgfx_encoder_t, _id: bgfx_view_id_t, _dst: bgfx_texture_handle_t, _dstMip: u8, _dstX: u16, _dstY: u16, _dstZ: u16, _src: bgfx_texture_handle_t, _srcMip: u8, _srcX: u16, _srcY: u16, _srcZ: u16, _width: u16, _height: u16, _depth: u16)>
request_screen_shot: Option<unsafe extern "C" fn(_handle: bgfx_frame_buffer_handle_t, _filePath: *const c_char)>
render_frame: Option<unsafe extern "C" fn(_msecs: i32) -> bgfx_render_frame_t>
set_platform_data: Option<unsafe extern "C" fn(_data: *const bgfx_platform_data_t)>
get_internal_data: Option<unsafe extern "C" fn() -> *const bgfx_internal_data_t>
override_internal_texture_ptr: Option<unsafe extern "C" fn(_handle: bgfx_texture_handle_t, _ptr: usize) -> usize>
override_internal_texture: Option<unsafe extern "C" fn(_handle: bgfx_texture_handle_t, _width: u16, _height: u16, _numMips: u8, _format: bgfx_texture_format_t, _flags: u64) -> usize>
set_marker: Option<unsafe extern "C" fn(_marker: *const c_char)>
set_state: Option<unsafe extern "C" fn(_state: u64, _rgba: u32)>
set_condition: Option<unsafe extern "C" fn(_handle: bgfx_occlusion_query_handle_t, _visible: bool)>
set_stencil: Option<unsafe extern "C" fn(_fstencil: u32, _bstencil: u32)>
set_scissor: Option<unsafe extern "C" fn(_x: u16, _y: u16, _width: u16, _height: u16) -> u16>
set_scissor_cached: Option<unsafe extern "C" fn(_cache: u16)>
set_transform: Option<unsafe extern "C" fn(_mtx: *const c_void, _num: u16) -> u32>
set_transform_cached: Option<unsafe extern "C" fn(_cache: u32, _num: u16)>
alloc_transform: Option<unsafe extern "C" fn(_transform: *mut bgfx_transform_t, _num: u16) -> u32>
set_uniform: Option<unsafe extern "C" fn(_handle: bgfx_uniform_handle_t, _value: *const c_void, _num: u16)>
set_index_buffer: Option<unsafe extern "C" fn(_handle: bgfx_index_buffer_handle_t, _firstIndex: u32, _numIndices: u32)>
set_dynamic_index_buffer: Option<unsafe extern "C" fn(_handle: bgfx_dynamic_index_buffer_handle_t, _firstIndex: u32, _numIndices: u32)>
set_transient_index_buffer: Option<unsafe extern "C" fn(_tib: *const bgfx_transient_index_buffer_t, _firstIndex: u32, _numIndices: u32)>
set_vertex_buffer: Option<unsafe extern "C" fn(_stream: u8, _handle: bgfx_vertex_buffer_handle_t, _startVertex: u32, _numVertices: u32)>
set_vertex_buffer_with_layout: Option<unsafe extern "C" fn(_stream: u8, _handle: bgfx_vertex_buffer_handle_t, _startVertex: u32, _numVertices: u32, _layoutHandle: bgfx_vertex_layout_handle_t)>
set_dynamic_vertex_buffer: Option<unsafe extern "C" fn(_stream: u8, _handle: bgfx_dynamic_vertex_buffer_handle_t, _startVertex: u32, _numVertices: u32)>
set_dynamic_vertex_buffer_with_layout: Option<unsafe extern "C" fn(_stream: u8, _handle: bgfx_dynamic_vertex_buffer_handle_t, _startVertex: u32, _numVertices: u32, _layoutHandle: bgfx_vertex_layout_handle_t)>
set_transient_vertex_buffer: Option<unsafe extern "C" fn(_stream: u8, _tvb: *const bgfx_transient_vertex_buffer_t, _startVertex: u32, _numVertices: u32)>
set_transient_vertex_buffer_with_layout: Option<unsafe extern "C" fn(_stream: u8, _tvb: *const bgfx_transient_vertex_buffer_t, _startVertex: u32, _numVertices: u32, _layoutHandle: bgfx_vertex_layout_handle_t)>
set_vertex_count: Option<unsafe extern "C" fn(_numVertices: u32)>
set_instance_data_buffer: Option<unsafe extern "C" fn(_idb: *const bgfx_instance_data_buffer_t, _start: u32, _num: u32)>
set_instance_data_from_vertex_buffer: Option<unsafe extern "C" fn(_handle: bgfx_vertex_buffer_handle_t, _startVertex: u32, _num: u32)>
set_instance_data_from_dynamic_vertex_buffer: Option<unsafe extern "C" fn(_handle: bgfx_dynamic_vertex_buffer_handle_t, _startVertex: u32, _num: u32)>
set_instance_count: Option<unsafe extern "C" fn(_numInstances: u32)>
set_texture: Option<unsafe extern "C" fn(_stage: u8, _sampler: bgfx_uniform_handle_t, _handle: bgfx_texture_handle_t, _flags: u32)>
touch: Option<unsafe extern "C" fn(_id: bgfx_view_id_t)>
submit: Option<unsafe extern "C" fn(_id: bgfx_view_id_t, _program: bgfx_program_handle_t, _depth: u32, _flags: u8)>
submit_occlusion_query: Option<unsafe extern "C" fn(_id: bgfx_view_id_t, _program: bgfx_program_handle_t, _occlusionQuery: bgfx_occlusion_query_handle_t, _depth: u32, _flags: u8)>
submit_indirect: Option<unsafe extern "C" fn(_id: bgfx_view_id_t, _program: bgfx_program_handle_t, _indirectHandle: bgfx_indirect_buffer_handle_t, _start: u16, _num: u16, _depth: u32, _flags: u8)>
set_compute_index_buffer: Option<unsafe extern "C" fn(_stage: u8, _handle: bgfx_index_buffer_handle_t, _access: bgfx_access_t)>
set_compute_vertex_buffer: Option<unsafe extern "C" fn(_stage: u8, _handle: bgfx_vertex_buffer_handle_t, _access: bgfx_access_t)>
set_compute_dynamic_index_buffer: Option<unsafe extern "C" fn(_stage: u8, _handle: bgfx_dynamic_index_buffer_handle_t, _access: bgfx_access_t)>
set_compute_dynamic_vertex_buffer: Option<unsafe extern "C" fn(_stage: u8, _handle: bgfx_dynamic_vertex_buffer_handle_t, _access: bgfx_access_t)>
set_compute_indirect_buffer: Option<unsafe extern "C" fn(_stage: u8, _handle: bgfx_indirect_buffer_handle_t, _access: bgfx_access_t)>
set_image: Option<unsafe extern "C" fn(_stage: u8, _handle: bgfx_texture_handle_t, _mip: u8, _access: bgfx_access_t, _format: bgfx_texture_format_t)>
dispatch: Option<unsafe extern "C" fn(_id: bgfx_view_id_t, _program: bgfx_program_handle_t, _numX: u32, _numY: u32, _numZ: u32, _flags: u8)>
dispatch_indirect: Option<unsafe extern "C" fn(_id: bgfx_view_id_t, _program: bgfx_program_handle_t, _indirectHandle: bgfx_indirect_buffer_handle_t, _start: u16, _num: u16, _flags: u8)>
discard: Option<unsafe extern "C" fn(_flags: u8)>
blit: Option<unsafe extern "C" fn(_id: bgfx_view_id_t, _dst: bgfx_texture_handle_t, _dstMip: u8, _dstX: u16, _dstY: u16, _dstZ: u16, _src: bgfx_texture_handle_t, _srcMip: u8, _srcX: u16, _srcY: u16, _srcZ: u16, _width: u16, _height: u16, _depth: u16)>
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for bgfx_interface_vtbl
impl Send for bgfx_interface_vtbl
impl Sync for bgfx_interface_vtbl
impl Unpin for bgfx_interface_vtbl
impl UnwindSafe for bgfx_interface_vtbl
Blanket Implementations
Mutably borrows from an owned value. Read more