Crate bgfx_sys [] [src]

Raw FFI bgfx bindings.

Macros

BGFX_STATE_ALPHA_REF!
BGFX_STATE_BLEND_EQUATION!
BGFX_STATE_BLEND_EQUATION_SEPARATE!
BGFX_STATE_BLEND_FUNC!
BGFX_STATE_BLEND_FUNC_RT_1!
BGFX_STATE_BLEND_FUNC_RT_1E!
BGFX_STATE_BLEND_FUNC_RT_2!
BGFX_STATE_BLEND_FUNC_RT_2E!
BGFX_STATE_BLEND_FUNC_RT_3!
BGFX_STATE_BLEND_FUNC_RT_3E!
BGFX_STATE_BLEND_FUNC_RT_x!
BGFX_STATE_BLEND_FUNC_RT_xE!
BGFX_STATE_BLEND_FUNC_SEPARATE!
BGFX_STATE_POINT_SIZE!

Structs

Struct_bgfx_allocator_interface
Struct_bgfx_allocator_vtbl
Struct_bgfx_callback_interface
Struct_bgfx_callback_vtbl
Struct_bgfx_caps
Struct_bgfx_caps_gpu
Struct_bgfx_dynamic_index_buffer_handle
Struct_bgfx_dynamic_vertex_buffer_handle
Struct_bgfx_frame_buffer_handle
Struct_bgfx_hmd
Struct_bgfx_hmd_eye
Struct_bgfx_index_buffer_handle
Struct_bgfx_indirect_buffer_handle
Struct_bgfx_instance_data_buffer
Struct_bgfx_interface_vtbl
Struct_bgfx_internal_data
Struct_bgfx_memory
Struct_bgfx_occlusion_query_handle
Struct_bgfx_platform_data
Struct_bgfx_program_handle
Struct_bgfx_shader_handle
Struct_bgfx_stats
Struct_bgfx_texture_handle
Struct_bgfx_texture_info
Struct_bgfx_transform
Struct_bgfx_transient_index_buffer
Struct_bgfx_transient_vertex_buffer
Struct_bgfx_uniform_handle
Struct_bgfx_vertex_buffer_handle
Struct_bgfx_vertex_decl
Struct_bgfx_vertex_decl_handle

Constants

BGFX_ACCESS_COUNT
BGFX_ACCESS_READ
BGFX_ACCESS_READWRITE
BGFX_ACCESS_WRITE
BGFX_ATTRIB_BITANGENT
BGFX_ATTRIB_COLOR0
BGFX_ATTRIB_COLOR1
BGFX_ATTRIB_COUNT
BGFX_ATTRIB_INDICES
BGFX_ATTRIB_NORMAL
BGFX_ATTRIB_POSITION
BGFX_ATTRIB_TANGENT
BGFX_ATTRIB_TEXCOORD0
BGFX_ATTRIB_TEXCOORD1
BGFX_ATTRIB_TEXCOORD2
BGFX_ATTRIB_TEXCOORD3
BGFX_ATTRIB_TEXCOORD4
BGFX_ATTRIB_TEXCOORD5
BGFX_ATTRIB_TEXCOORD6
BGFX_ATTRIB_TEXCOORD7
BGFX_ATTRIB_TYPE_COUNT
BGFX_ATTRIB_TYPE_FLOAT
BGFX_ATTRIB_TYPE_HALF
BGFX_ATTRIB_TYPE_INT16
BGFX_ATTRIB_TYPE_UINT10
BGFX_ATTRIB_TYPE_UINT8
BGFX_ATTRIB_WEIGHT
BGFX_BACKBUFFER_RATIO_COUNT
BGFX_BACKBUFFER_RATIO_DOUBLE
BGFX_BACKBUFFER_RATIO_EIGHTH
BGFX_BACKBUFFER_RATIO_EQUAL
BGFX_BACKBUFFER_RATIO_HALF
BGFX_BACKBUFFER_RATIO_QUARTER
BGFX_BACKBUFFER_RATIO_SIXTEENTH
BGFX_BUFFER_ALLOW_RESIZE
BGFX_BUFFER_COMPUTE_FORMAT_16X1
BGFX_BUFFER_COMPUTE_FORMAT_16X2
BGFX_BUFFER_COMPUTE_FORMAT_16X4
BGFX_BUFFER_COMPUTE_FORMAT_32X1
BGFX_BUFFER_COMPUTE_FORMAT_32X2
BGFX_BUFFER_COMPUTE_FORMAT_32X4
BGFX_BUFFER_COMPUTE_FORMAT_8X1
BGFX_BUFFER_COMPUTE_FORMAT_8X2
BGFX_BUFFER_COMPUTE_FORMAT_8X4
BGFX_BUFFER_COMPUTE_FORMAT_MASK
BGFX_BUFFER_COMPUTE_FORMAT_SHIFT
BGFX_BUFFER_COMPUTE_READ
BGFX_BUFFER_COMPUTE_READ_WRITE
BGFX_BUFFER_COMPUTE_TYPE_FLOAT
BGFX_BUFFER_COMPUTE_TYPE_INT
BGFX_BUFFER_COMPUTE_TYPE_MASK
BGFX_BUFFER_COMPUTE_TYPE_SHIFT
BGFX_BUFFER_COMPUTE_TYPE_UINT
BGFX_BUFFER_COMPUTE_WRITE
BGFX_BUFFER_DRAW_INDIRECT
BGFX_BUFFER_INDEX32
BGFX_BUFFER_NONE
BGFX_CLEAR_COLOR
BGFX_CLEAR_DEPTH
BGFX_CLEAR_DISCARD_COLOR_0
BGFX_CLEAR_DISCARD_COLOR_1
BGFX_CLEAR_DISCARD_COLOR_2
BGFX_CLEAR_DISCARD_COLOR_3
BGFX_CLEAR_DISCARD_COLOR_4
BGFX_CLEAR_DISCARD_COLOR_5
BGFX_CLEAR_DISCARD_COLOR_6
BGFX_CLEAR_DISCARD_COLOR_7
BGFX_CLEAR_DISCARD_COLOR_MASK
BGFX_CLEAR_DISCARD_DEPTH
BGFX_CLEAR_DISCARD_MASK
BGFX_CLEAR_DISCARD_STENCIL
BGFX_CLEAR_NONE
BGFX_CLEAR_STENCIL
BGFX_DEBUG_IFH
BGFX_DEBUG_NONE
BGFX_DEBUG_STATS
BGFX_DEBUG_TEXT
BGFX_DEBUG_WIREFRAME
BGFX_FATAL_COUNT
BGFX_FATAL_DEBUG_CHECK
BGFX_FATAL_DEVICE_LOST
BGFX_FATAL_INVALID_SHADER
BGFX_FATAL_MINIMUM_REQUIRED_SPECS
BGFX_FATAL_UNABLE_TO_CREATE_TEXTURE
BGFX_FATAL_UNABLE_TO_INITIALIZE
BGFX_OCCLUSION_QUERY_RESULT_COUNT
BGFX_OCCLUSION_QUERY_RESULT_INVISIBLE
BGFX_OCCLUSION_QUERY_RESULT_NORESULT
BGFX_OCCLUSION_QUERY_RESULT_VISIBLE
BGFX_PCI_ID_AMD
BGFX_PCI_ID_INTEL
BGFX_PCI_ID_NONE
BGFX_PCI_ID_NVIDIA
BGFX_PCI_ID_SOFTWARE_RASTERIZER
BGFX_RENDERER_TYPE_COUNT
BGFX_RENDERER_TYPE_DIRECT3D11
BGFX_RENDERER_TYPE_DIRECT3D12
BGFX_RENDERER_TYPE_DIRECT3D9
BGFX_RENDERER_TYPE_METAL
BGFX_RENDERER_TYPE_NULL
BGFX_RENDERER_TYPE_OPENGL
BGFX_RENDERER_TYPE_OPENGLES
BGFX_RENDERER_TYPE_VULKAN
BGFX_RENDER_FRAME_COUNT
BGFX_RENDER_FRAME_EXITING
BGFX_RENDER_FRAME_NO_CONTEXT
BGFX_RENDER_FRAME_RENDER
BGFX_RESET_CAPTURE
BGFX_RESET_FLIP_AFTER_RENDER
BGFX_RESET_FLUSH_AFTER_RENDER
BGFX_RESET_FULLSCREEN
BGFX_RESET_FULLSCREEN_MASK
BGFX_RESET_FULLSCREEN_SHIFT
BGFX_RESET_HIDPI
BGFX_RESET_HMD
BGFX_RESET_HMD_DEBUG
BGFX_RESET_HMD_RECENTER
BGFX_RESET_MAXANISOTROPY
BGFX_RESET_MSAA_MASK
BGFX_RESET_MSAA_SHIFT
BGFX_RESET_MSAA_X16
BGFX_RESET_MSAA_X2
BGFX_RESET_MSAA_X4
BGFX_RESET_MSAA_X8
BGFX_RESET_NONE
BGFX_RESET_SRGB_BACKBUFFER
BGFX_RESET_VSYNC
BGFX_STATE_ALPHA_REF_MASK
BGFX_STATE_ALPHA_REF_SHIFT
BGFX_STATE_ALPHA_WRITE
BGFX_STATE_BLEND_ADD
BGFX_STATE_BLEND_ALPHA
BGFX_STATE_BLEND_DARKEN
BGFX_STATE_BLEND_DST_ALPHA
BGFX_STATE_BLEND_DST_COLOR
BGFX_STATE_BLEND_EQUATION_ADD
BGFX_STATE_BLEND_EQUATION_MASK
BGFX_STATE_BLEND_EQUATION_MAX
BGFX_STATE_BLEND_EQUATION_MIN
BGFX_STATE_BLEND_EQUATION_REVSUB
BGFX_STATE_BLEND_EQUATION_SHIFT
BGFX_STATE_BLEND_EQUATION_SUB
BGFX_STATE_BLEND_FACTOR
BGFX_STATE_BLEND_INDEPENDENT
BGFX_STATE_BLEND_INV_DST_ALPHA
BGFX_STATE_BLEND_INV_DST_COLOR
BGFX_STATE_BLEND_INV_FACTOR
BGFX_STATE_BLEND_INV_SRC_ALPHA
BGFX_STATE_BLEND_INV_SRC_COLOR
BGFX_STATE_BLEND_LIGHTEN
BGFX_STATE_BLEND_LINEAR_BURN
BGFX_STATE_BLEND_MASK
BGFX_STATE_BLEND_MULTIPLY
BGFX_STATE_BLEND_NORMAL
BGFX_STATE_BLEND_ONE
BGFX_STATE_BLEND_SCREEN
BGFX_STATE_BLEND_SHIFT
BGFX_STATE_BLEND_SRC_ALPHA
BGFX_STATE_BLEND_SRC_ALPHA_SAT
BGFX_STATE_BLEND_SRC_COLOR
BGFX_STATE_BLEND_ZERO
BGFX_STATE_CULL_CCW
BGFX_STATE_CULL_CW
BGFX_STATE_CULL_MASK
BGFX_STATE_CULL_SHIFT
BGFX_STATE_DEFAULT
BGFX_STATE_DEPTH_TEST_ALWAYS
BGFX_STATE_DEPTH_TEST_EQUAL
BGFX_STATE_DEPTH_TEST_GEQUAL
BGFX_STATE_DEPTH_TEST_GREATER
BGFX_STATE_DEPTH_TEST_LEQUAL
BGFX_STATE_DEPTH_TEST_LESS
BGFX_STATE_DEPTH_TEST_MASK
BGFX_STATE_DEPTH_TEST_NEVER
BGFX_STATE_DEPTH_TEST_NOTEQUAL
BGFX_STATE_DEPTH_TEST_SHIFT
BGFX_STATE_DEPTH_WRITE
BGFX_STATE_MASK
BGFX_STATE_MSAA
BGFX_STATE_NONE
BGFX_STATE_POINT_SIZE_MASK
BGFX_STATE_POINT_SIZE_SHIFT
BGFX_STATE_PT_LINES
BGFX_STATE_PT_LINESTRIP
BGFX_STATE_PT_MASK
BGFX_STATE_PT_POINTS
BGFX_STATE_PT_SHIFT
BGFX_STATE_PT_TRISTRIP
BGFX_STATE_RESERVED_MASK
BGFX_STATE_RGB_WRITE
BGFX_TEXTURE_FORMAT_A8
BGFX_TEXTURE_FORMAT_BC1
BGFX_TEXTURE_FORMAT_BC2
BGFX_TEXTURE_FORMAT_BC3
BGFX_TEXTURE_FORMAT_BC4
BGFX_TEXTURE_FORMAT_BC5
BGFX_TEXTURE_FORMAT_BC6H
BGFX_TEXTURE_FORMAT_BC7
BGFX_TEXTURE_FORMAT_BGRA8
BGFX_TEXTURE_FORMAT_COUNT
BGFX_TEXTURE_FORMAT_D0S8
BGFX_TEXTURE_FORMAT_D16
BGFX_TEXTURE_FORMAT_D16F
BGFX_TEXTURE_FORMAT_D24
BGFX_TEXTURE_FORMAT_D24F
BGFX_TEXTURE_FORMAT_D24S8
BGFX_TEXTURE_FORMAT_D32
BGFX_TEXTURE_FORMAT_D32F
BGFX_TEXTURE_FORMAT_ETC1
BGFX_TEXTURE_FORMAT_ETC2
BGFX_TEXTURE_FORMAT_ETC2A
BGFX_TEXTURE_FORMAT_ETC2A1
BGFX_TEXTURE_FORMAT_PTC12
BGFX_TEXTURE_FORMAT_PTC12A
BGFX_TEXTURE_FORMAT_PTC14
BGFX_TEXTURE_FORMAT_PTC14A
BGFX_TEXTURE_FORMAT_PTC22
BGFX_TEXTURE_FORMAT_PTC24
BGFX_TEXTURE_FORMAT_R1
BGFX_TEXTURE_FORMAT_R11G11B10F
BGFX_TEXTURE_FORMAT_R16
BGFX_TEXTURE_FORMAT_R16F
BGFX_TEXTURE_FORMAT_R16I
BGFX_TEXTURE_FORMAT_R16S
BGFX_TEXTURE_FORMAT_R16U
BGFX_TEXTURE_FORMAT_R32F
BGFX_TEXTURE_FORMAT_R32I
BGFX_TEXTURE_FORMAT_R32U
BGFX_TEXTURE_FORMAT_R5G6B5
BGFX_TEXTURE_FORMAT_R8
BGFX_TEXTURE_FORMAT_R8I
BGFX_TEXTURE_FORMAT_R8S
BGFX_TEXTURE_FORMAT_R8U
BGFX_TEXTURE_FORMAT_RG16
BGFX_TEXTURE_FORMAT_RG16F
BGFX_TEXTURE_FORMAT_RG16I
BGFX_TEXTURE_FORMAT_RG16S
BGFX_TEXTURE_FORMAT_RG16U
BGFX_TEXTURE_FORMAT_RG32F
BGFX_TEXTURE_FORMAT_RG32I
BGFX_TEXTURE_FORMAT_RG32U
BGFX_TEXTURE_FORMAT_RG8
BGFX_TEXTURE_FORMAT_RG8I
BGFX_TEXTURE_FORMAT_RG8S
BGFX_TEXTURE_FORMAT_RG8U
BGFX_TEXTURE_FORMAT_RGB10A2
BGFX_TEXTURE_FORMAT_RGB5A1
BGFX_TEXTURE_FORMAT_RGB9E5F
BGFX_TEXTURE_FORMAT_RGBA16
BGFX_TEXTURE_FORMAT_RGBA16F
BGFX_TEXTURE_FORMAT_RGBA16I
BGFX_TEXTURE_FORMAT_RGBA16S
BGFX_TEXTURE_FORMAT_RGBA16U
BGFX_TEXTURE_FORMAT_RGBA32F
BGFX_TEXTURE_FORMAT_RGBA32I
BGFX_TEXTURE_FORMAT_RGBA32U
BGFX_TEXTURE_FORMAT_RGBA4
BGFX_TEXTURE_FORMAT_RGBA8
BGFX_TEXTURE_FORMAT_RGBA8I
BGFX_TEXTURE_FORMAT_RGBA8S
BGFX_TEXTURE_FORMAT_RGBA8U
BGFX_TEXTURE_FORMAT_UNKNOWN
BGFX_TEXTURE_FORMAT_UNKNOWN_DEPTH
BGFX_UNIFORM_TYPE_COUNT
BGFX_UNIFORM_TYPE_END
BGFX_UNIFORM_TYPE_INT1
BGFX_UNIFORM_TYPE_MAT3
BGFX_UNIFORM_TYPE_MAT4
BGFX_UNIFORM_TYPE_VEC4

Functions

bgfx_alloc
bgfx_alloc_instance_data_buffer
bgfx_alloc_transform
bgfx_alloc_transient_buffers
bgfx_alloc_transient_index_buffer
bgfx_alloc_transient_vertex_buffer
bgfx_blit
bgfx_blit_frame_buffer
bgfx_calc_texture_size
bgfx_check_avail_instance_data_buffer
bgfx_check_avail_transient_buffers
bgfx_check_avail_transient_index_buffer
bgfx_check_avail_transient_vertex_buffer
bgfx_copy
bgfx_create_compute_program
bgfx_create_dynamic_index_buffer
bgfx_create_dynamic_index_buffer_mem
bgfx_create_dynamic_vertex_buffer
bgfx_create_dynamic_vertex_buffer_mem
bgfx_create_frame_buffer
bgfx_create_frame_buffer_from_handles
bgfx_create_frame_buffer_from_nwh
bgfx_create_frame_buffer_scaled
bgfx_create_index_buffer
bgfx_create_indirect_buffer
bgfx_create_occlusion_query
bgfx_create_program
bgfx_create_shader
bgfx_create_texture
bgfx_create_texture_2d
bgfx_create_texture_2d_scaled
bgfx_create_texture_3d
bgfx_create_texture_cube
bgfx_create_uniform
bgfx_create_vertex_buffer
bgfx_dbg_text_clear
bgfx_dbg_text_image
bgfx_dbg_text_printf
bgfx_destroy_dynamic_index_buffer
bgfx_destroy_dynamic_vertex_buffer
bgfx_destroy_frame_buffer
bgfx_destroy_index_buffer
bgfx_destroy_indirect_buffer
bgfx_destroy_occlusion_query
bgfx_destroy_program
bgfx_destroy_shader
bgfx_destroy_texture
bgfx_destroy_uniform
bgfx_destroy_vertex_buffer
bgfx_discard
bgfx_dispatch
bgfx_dispatch_indirect
bgfx_frame
bgfx_get_caps
bgfx_get_hmd
bgfx_get_internal_data
bgfx_get_renderer_name
bgfx_get_renderer_type
bgfx_get_result
bgfx_get_shader_uniforms
bgfx_get_stats
bgfx_get_supported_renderers
bgfx_image_rgba8_downsample_2x2
bgfx_image_swizzle_bgra8
bgfx_init
bgfx_make_ref
bgfx_make_ref_release
bgfx_read_frame_buffer
bgfx_read_texture
bgfx_render_frame
bgfx_reset
bgfx_reset_view
bgfx_save_screen_shot
bgfx_set_compute_dynamic_index_buffer
bgfx_set_compute_dynamic_vertex_buffer
bgfx_set_compute_index_buffer
bgfx_set_compute_indirect_buffer
bgfx_set_compute_vertex_buffer
bgfx_set_condition
bgfx_set_debug
bgfx_set_dynamic_index_buffer
bgfx_set_dynamic_vertex_buffer
bgfx_set_image
bgfx_set_image_from_frame_buffer
bgfx_set_index_buffer
bgfx_set_instance_data_buffer
bgfx_set_instance_data_from_dynamic_vertex_buffer
bgfx_set_instance_data_from_vertex_buffer
bgfx_set_marker
bgfx_set_palette_color
bgfx_set_platform_data
bgfx_set_scissor
bgfx_set_scissor_cached
bgfx_set_state
bgfx_set_stencil
bgfx_set_texture
bgfx_set_texture_from_frame_buffer
bgfx_set_transform
bgfx_set_transform_cached
bgfx_set_transient_index_buffer
bgfx_set_transient_vertex_buffer
bgfx_set_uniform
bgfx_set_vertex_buffer
bgfx_set_view_clear
bgfx_set_view_clear_mrt
bgfx_set_view_frame_buffer
bgfx_set_view_name
bgfx_set_view_rect
bgfx_set_view_rect_auto
bgfx_set_view_remap
bgfx_set_view_scissor
bgfx_set_view_seq
bgfx_set_view_transform
bgfx_set_view_transform_stereo
bgfx_shutdown
bgfx_submit
bgfx_submit_indirect
bgfx_submit_occlusion_query
bgfx_touch
bgfx_update_dynamic_index_buffer
bgfx_update_dynamic_vertex_buffer
bgfx_update_texture_2d
bgfx_update_texture_3d
bgfx_update_texture_cube
bgfx_vertex_convert
bgfx_vertex_decl_add
bgfx_vertex_decl_begin
bgfx_vertex_decl_end
bgfx_vertex_decl_skip
bgfx_vertex_pack
bgfx_vertex_unpack
bgfx_weld_vertices

Type Definitions

Enum_bgfx_access
Enum_bgfx_attrib
Enum_bgfx_attrib_type
Enum_bgfx_backbuffer_ratio
Enum_bgfx_fatal
Enum_bgfx_occlusion_query_result
Enum_bgfx_render_frame
Enum_bgfx_renderer_type
Enum_bgfx_texture_format
Enum_bgfx_uniform_type
PFN_BGFX_GET_INTERFACE
bgfx_access_t
bgfx_allocator_interface_t
bgfx_allocator_vtbl_t
bgfx_attrib_t
bgfx_attrib_type_t
bgfx_backbuffer_ratio_t
bgfx_callback_interface_t
bgfx_callback_vtbl_t
bgfx_caps_gpu_t
bgfx_caps_t
bgfx_dynamic_index_buffer_handle_t
bgfx_dynamic_vertex_buffer_handle_t
bgfx_fatal_t
bgfx_frame_buffer_handle_t
bgfx_hmd_eye_t
bgfx_hmd_t
bgfx_index_buffer_handle_t
bgfx_indirect_buffer_handle_t
bgfx_instance_data_buffer_t
bgfx_interface_vtbl_t
bgfx_internal_data_t
bgfx_memory_t
bgfx_occlusion_query_handle_t
bgfx_occlusion_query_result_t
bgfx_platform_data_t
bgfx_program_handle_t
bgfx_release_fn_t
bgfx_render_frame_t
bgfx_renderer_type_t
bgfx_shader_handle_t
bgfx_stats_t
bgfx_texture_format_t
bgfx_texture_handle_t
bgfx_texture_info_t
bgfx_transform_t
bgfx_transient_index_buffer_t
bgfx_transient_vertex_buffer_t
bgfx_uniform_handle_t
bgfx_uniform_type_t
bgfx_vertex_buffer_handle_t
bgfx_vertex_decl_handle_t
bgfx_vertex_decl_t
int32_t
size_t
uint16_t
uint32_t
uint64_t
uint8_t
va_list