Crate bgfx_sys

Source

Re-exports§

pub use self::bgfx_fatal as bgfx_fatal_t;
pub use self::bgfx_renderer_type as bgfx_renderer_type_t;
pub use self::bgfx_access as bgfx_access_t;
pub use self::bgfx_attrib as bgfx_attrib_t;
pub use self::bgfx_attrib_type as bgfx_attrib_type_t;
pub use self::bgfx_texture_format as bgfx_texture_format_t;
pub use self::bgfx_uniform_type as bgfx_uniform_type_t;
pub use self::bgfx_backbuffer_ratio as bgfx_backbuffer_ratio_t;
pub use self::bgfx_occlusion_query_result as bgfx_occlusion_query_result_t;
pub use self::bgfx_topology as bgfx_topology_t;
pub use self::bgfx_topology_convert as bgfx_topology_convert_t;
pub use self::bgfx_topology_convert as bgfx_topology_convert_t;
pub use self::bgfx_topology_sort as bgfx_topology_sort_t;
pub use self::bgfx_view_mode as bgfx_view_mode_t;
pub use self::bgfx_native_window_handle_type as bgfx_native_window_handle_type_t;
pub use self::bgfx_render_frame as bgfx_render_frame_t;
pub use self::bgfx_render_frame as bgfx_render_frame_t;
pub use self::bgfx_function_id as bgfx_function_id_t;

Structs§

__atomic_wide_counter__bindgen_ty_1
__fsid_t
__once_flag
__pthread_cond_s
__pthread_internal_list
__pthread_internal_slist
__pthread_mutex_s
__pthread_rwlock_arch_t
__sigset_t
__va_list_tag
bgfx_allocator_interface_s
bgfx_allocator_vtbl_s
bgfx_attachment_s
Frame buffer texture attachment info.
bgfx_callback_interface_s
bgfx_callback_vtbl_s
bgfx_caps_gpu_s
GPU info.
bgfx_caps_limits_s
Renderer runtime limits.
bgfx_caps_s
Renderer capabilities.
bgfx_dynamic_index_buffer_handle_s
bgfx_dynamic_vertex_buffer_handle_s
bgfx_encoder_s
Encoders are used for submitting draw calls from multiple threads. Only one encoder per thread should be used. Use bgfx::begin() to obtain an encoder for a thread.
bgfx_encoder_stats_s
Encoder stats.
bgfx_frame_buffer_handle_s
bgfx_index_buffer_handle_s
bgfx_indirect_buffer_handle_s
bgfx_init_limits_s
Configurable runtime limits parameters.
bgfx_init_s
Initialization parameters used by bgfx::init.
bgfx_instance_data_buffer_s
Instance data buffer info.
bgfx_interface_vtbl
bgfx_internal_data_s
Internal data.
bgfx_memory_s
Memory must be obtained by calling bgfx::alloc, bgfx::copy, or bgfx::makeRef. @attention It is illegal to create this structure on stack and pass it to any bgfx API.
bgfx_occlusion_query_handle_s
bgfx_platform_data_s
Platform data.
bgfx_program_handle_s
bgfx_resolution_s
Backbuffer resolution and reset parameters.
bgfx_shader_handle_s
bgfx_stats_s
Renderer statistics data. @remarks All time values are high-resolution timestamps, while time frequencies define timestamps-per-second for that hardware.
bgfx_texture_handle_s
bgfx_texture_info_s
Texture info.
bgfx_transform_s
Transform data.
bgfx_transient_index_buffer_s
Transient index buffer.
bgfx_transient_vertex_buffer_s
Transient vertex buffer.
bgfx_uniform_handle_s
bgfx_uniform_info_s
Uniform info.
bgfx_vertex_buffer_handle_s
bgfx_vertex_layout_handle_s
bgfx_vertex_layout_s
Vertex layout.
bgfx_view_stats_s
View stats.
div_t
drand48_data
fd_set
ldiv_t
lldiv_t
random_data
timespec
timeval

Constants§

BGFX_ACCESS_COUNT
( 2) Read and write.
BGFX_ACCESS_READ
BGFX_ACCESS_READWRITE
( 1) Write.
BGFX_ACCESS_WRITE
( 0) Read.
BGFX_API_VERSION
BGFX_ATTRIB_BITANGENT
( 2) a_tangent
BGFX_ATTRIB_COLOR0
( 3) a_bitangent
BGFX_ATTRIB_COLOR1
( 4) a_color0
BGFX_ATTRIB_COLOR2
( 5) a_color1
BGFX_ATTRIB_COLOR3
( 6) a_color2
BGFX_ATTRIB_COUNT
(17) a_texcoord7
BGFX_ATTRIB_INDICES
( 7) a_color3
BGFX_ATTRIB_NORMAL
( 0) a_position
BGFX_ATTRIB_POSITION
BGFX_ATTRIB_TANGENT
( 1) a_normal
BGFX_ATTRIB_TEXCOORD0
( 9) a_weight
BGFX_ATTRIB_TEXCOORD1
(10) a_texcoord0
BGFX_ATTRIB_TEXCOORD2
(11) a_texcoord1
BGFX_ATTRIB_TEXCOORD3
(12) a_texcoord2
BGFX_ATTRIB_TEXCOORD4
(13) a_texcoord3
BGFX_ATTRIB_TEXCOORD5
(14) a_texcoord4
BGFX_ATTRIB_TEXCOORD6
(15) a_texcoord5
BGFX_ATTRIB_TEXCOORD7
(16) a_texcoord6
BGFX_ATTRIB_TYPE_COUNT
( 4) Float
BGFX_ATTRIB_TYPE_FLOAT
( 3) Half, availability depends on: BGFX_CAPS_VERTEX_ATTRIB_HALF.
BGFX_ATTRIB_TYPE_HALF
( 2) Int16
BGFX_ATTRIB_TYPE_INT16
( 1) Uint10, availability depends on: BGFX_CAPS_VERTEX_ATTRIB_UINT10.
BGFX_ATTRIB_TYPE_UINT8
BGFX_ATTRIB_TYPE_UINT10
( 0) Uint8
BGFX_ATTRIB_WEIGHT
( 8) a_indices
BGFX_BACKBUFFER_RATIO_COUNT
( 5) Double size of backbuffer.
BGFX_BACKBUFFER_RATIO_DOUBLE
( 4) One sixteenth size of backbuffer.
BGFX_BACKBUFFER_RATIO_EIGHTH
( 2) One quarter size of backbuffer.
BGFX_BACKBUFFER_RATIO_EQUAL
BGFX_BACKBUFFER_RATIO_HALF
( 0) Equal to backbuffer.
BGFX_BACKBUFFER_RATIO_QUARTER
( 1) One half size of backbuffer.
BGFX_BACKBUFFER_RATIO_SIXTEENTH
( 3) One eighth size of backbuffer.
BGFX_BUFFER_ALLOW_RESIZE
BGFX_BUFFER_COMPUTE_FORMAT_8X1
BGFX_BUFFER_COMPUTE_FORMAT_8X2
BGFX_BUFFER_COMPUTE_FORMAT_8X4
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_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_CAPS_ALPHA_TO_COVERAGE
BGFX_CAPS_BLEND_INDEPENDENT
BGFX_CAPS_COMPUTE
BGFX_CAPS_CONSERVATIVE_RASTER
BGFX_CAPS_DRAW_INDIRECT
BGFX_CAPS_DRAW_INDIRECT_COUNT
BGFX_CAPS_FORMAT_TEXTURE_2D
BGFX_CAPS_FORMAT_TEXTURE_2D_EMULATED
BGFX_CAPS_FORMAT_TEXTURE_2D_SRGB
BGFX_CAPS_FORMAT_TEXTURE_3D
BGFX_CAPS_FORMAT_TEXTURE_3D_EMULATED
BGFX_CAPS_FORMAT_TEXTURE_3D_SRGB
BGFX_CAPS_FORMAT_TEXTURE_CUBE
BGFX_CAPS_FORMAT_TEXTURE_CUBE_EMULATED
BGFX_CAPS_FORMAT_TEXTURE_CUBE_SRGB
BGFX_CAPS_FORMAT_TEXTURE_FRAMEBUFFER
BGFX_CAPS_FORMAT_TEXTURE_FRAMEBUFFER_MSAA
BGFX_CAPS_FORMAT_TEXTURE_IMAGE_READ
BGFX_CAPS_FORMAT_TEXTURE_IMAGE_WRITE
BGFX_CAPS_FORMAT_TEXTURE_MIP_AUTOGEN
BGFX_CAPS_FORMAT_TEXTURE_MSAA
BGFX_CAPS_FORMAT_TEXTURE_NONE
BGFX_CAPS_FORMAT_TEXTURE_VERTEX
BGFX_CAPS_FRAGMENT_DEPTH
BGFX_CAPS_FRAGMENT_ORDERING
BGFX_CAPS_GRAPHICS_DEBUGGER
BGFX_CAPS_HDR10
BGFX_CAPS_HIDPI
BGFX_CAPS_IMAGE_RW
BGFX_CAPS_INDEX32
BGFX_CAPS_INSTANCING
BGFX_CAPS_OCCLUSION_QUERY
BGFX_CAPS_PRIMITIVE_ID
BGFX_CAPS_RENDERER_MULTITHREADED
BGFX_CAPS_SWAP_CHAIN
BGFX_CAPS_TEXTURE_2D_ARRAY
BGFX_CAPS_TEXTURE_3D
BGFX_CAPS_TEXTURE_BLIT
BGFX_CAPS_TEXTURE_COMPARE_ALL
BGFX_CAPS_TEXTURE_COMPARE_LEQUAL
BGFX_CAPS_TEXTURE_COMPARE_RESERVED
BGFX_CAPS_TEXTURE_CUBE_ARRAY
BGFX_CAPS_TEXTURE_DIRECT_ACCESS
BGFX_CAPS_TEXTURE_READ_BACK
BGFX_CAPS_TRANSPARENT_BACKBUFFER
BGFX_CAPS_VERTEX_ATTRIB_HALF
BGFX_CAPS_VERTEX_ATTRIB_UINT10
BGFX_CAPS_VERTEX_ID
BGFX_CAPS_VIEWPORT_LAYER_ARRAY
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_CUBE_MAP_NEGATIVE_X
BGFX_CUBE_MAP_NEGATIVE_Y
BGFX_CUBE_MAP_NEGATIVE_Z
BGFX_CUBE_MAP_POSITIVE_X
BGFX_CUBE_MAP_POSITIVE_Y
BGFX_CUBE_MAP_POSITIVE_Z
BGFX_DEBUG_IFH
BGFX_DEBUG_NONE
BGFX_DEBUG_PROFILER
BGFX_DEBUG_STATS
BGFX_DEBUG_TEXT
BGFX_DEBUG_WIREFRAME
BGFX_DISCARD_ALL
BGFX_DISCARD_BINDINGS
BGFX_DISCARD_INDEX_BUFFER
BGFX_DISCARD_INSTANCE_DATA
BGFX_DISCARD_NONE
BGFX_DISCARD_STATE
BGFX_DISCARD_TRANSFORM
BGFX_DISCARD_VERTEX_STREAMS
BGFX_FATAL_COUNT
( 4)
BGFX_FATAL_DEBUG_CHECK
BGFX_FATAL_DEVICE_LOST
( 3)
BGFX_FATAL_INVALID_SHADER
( 0)
BGFX_FATAL_UNABLE_TO_CREATE_TEXTURE
( 2)
BGFX_FATAL_UNABLE_TO_INITIALIZE
( 1)
BGFX_FUNCTION_ID_ALLOC
BGFX_FUNCTION_ID_ALLOC_INSTANCE_DATA_BUFFER
BGFX_FUNCTION_ID_ALLOC_TRANSFORM
BGFX_FUNCTION_ID_ALLOC_TRANSIENT_BUFFERS
BGFX_FUNCTION_ID_ALLOC_TRANSIENT_INDEX_BUFFER
BGFX_FUNCTION_ID_ALLOC_TRANSIENT_VERTEX_BUFFER
BGFX_FUNCTION_ID_ATTACHMENT_INIT
BGFX_FUNCTION_ID_BLIT
BGFX_FUNCTION_ID_CALC_TEXTURE_SIZE
BGFX_FUNCTION_ID_COPY
BGFX_FUNCTION_ID_COUNT
BGFX_FUNCTION_ID_CREATE_COMPUTE_PROGRAM
BGFX_FUNCTION_ID_CREATE_DYNAMIC_INDEX_BUFFER
BGFX_FUNCTION_ID_CREATE_DYNAMIC_INDEX_BUFFER_MEM
BGFX_FUNCTION_ID_CREATE_DYNAMIC_VERTEX_BUFFER
BGFX_FUNCTION_ID_CREATE_DYNAMIC_VERTEX_BUFFER_MEM
BGFX_FUNCTION_ID_CREATE_FRAME_BUFFER
BGFX_FUNCTION_ID_CREATE_FRAME_BUFFER_FROM_ATTACHMENT
BGFX_FUNCTION_ID_CREATE_FRAME_BUFFER_FROM_HANDLES
BGFX_FUNCTION_ID_CREATE_FRAME_BUFFER_FROM_NWH
BGFX_FUNCTION_ID_CREATE_FRAME_BUFFER_SCALED
BGFX_FUNCTION_ID_CREATE_INDEX_BUFFER
BGFX_FUNCTION_ID_CREATE_INDIRECT_BUFFER
BGFX_FUNCTION_ID_CREATE_OCCLUSION_QUERY
BGFX_FUNCTION_ID_CREATE_PROGRAM
BGFX_FUNCTION_ID_CREATE_SHADER
BGFX_FUNCTION_ID_CREATE_TEXTURE
BGFX_FUNCTION_ID_CREATE_TEXTURE_2D
BGFX_FUNCTION_ID_CREATE_TEXTURE_2D_SCALED
BGFX_FUNCTION_ID_CREATE_TEXTURE_3D
BGFX_FUNCTION_ID_CREATE_TEXTURE_CUBE
BGFX_FUNCTION_ID_CREATE_UNIFORM
BGFX_FUNCTION_ID_CREATE_VERTEX_BUFFER
BGFX_FUNCTION_ID_CREATE_VERTEX_LAYOUT
BGFX_FUNCTION_ID_DBG_TEXT_CLEAR
BGFX_FUNCTION_ID_DBG_TEXT_IMAGE
BGFX_FUNCTION_ID_DBG_TEXT_PRINTF
BGFX_FUNCTION_ID_DBG_TEXT_VPRINTF
BGFX_FUNCTION_ID_DESTROY_DYNAMIC_INDEX_BUFFER
BGFX_FUNCTION_ID_DESTROY_DYNAMIC_VERTEX_BUFFER
BGFX_FUNCTION_ID_DESTROY_FRAME_BUFFER
BGFX_FUNCTION_ID_DESTROY_INDEX_BUFFER
BGFX_FUNCTION_ID_DESTROY_INDIRECT_BUFFER
BGFX_FUNCTION_ID_DESTROY_OCCLUSION_QUERY
BGFX_FUNCTION_ID_DESTROY_PROGRAM
BGFX_FUNCTION_ID_DESTROY_SHADER
BGFX_FUNCTION_ID_DESTROY_TEXTURE
BGFX_FUNCTION_ID_DESTROY_UNIFORM
BGFX_FUNCTION_ID_DESTROY_VERTEX_BUFFER
BGFX_FUNCTION_ID_DESTROY_VERTEX_LAYOUT
BGFX_FUNCTION_ID_DISCARD
BGFX_FUNCTION_ID_DISPATCH
BGFX_FUNCTION_ID_DISPATCH_INDIRECT
BGFX_FUNCTION_ID_ENCODER_ALLOC_TRANSFORM
BGFX_FUNCTION_ID_ENCODER_BEGIN
BGFX_FUNCTION_ID_ENCODER_BLIT
BGFX_FUNCTION_ID_ENCODER_DISCARD
BGFX_FUNCTION_ID_ENCODER_DISPATCH
BGFX_FUNCTION_ID_ENCODER_DISPATCH_INDIRECT
BGFX_FUNCTION_ID_ENCODER_END
BGFX_FUNCTION_ID_ENCODER_SET_COMPUTE_DYNAMIC_INDEX_BUFFER
BGFX_FUNCTION_ID_ENCODER_SET_COMPUTE_DYNAMIC_VERTEX_BUFFER
BGFX_FUNCTION_ID_ENCODER_SET_COMPUTE_INDEX_BUFFER
BGFX_FUNCTION_ID_ENCODER_SET_COMPUTE_INDIRECT_BUFFER
BGFX_FUNCTION_ID_ENCODER_SET_COMPUTE_VERTEX_BUFFER
BGFX_FUNCTION_ID_ENCODER_SET_CONDITION
BGFX_FUNCTION_ID_ENCODER_SET_DYNAMIC_INDEX_BUFFER
BGFX_FUNCTION_ID_ENCODER_SET_DYNAMIC_VERTEX_BUFFER
BGFX_FUNCTION_ID_ENCODER_SET_DYNAMIC_VERTEX_BUFFER_WITH_LAYOUT
BGFX_FUNCTION_ID_ENCODER_SET_IMAGE
BGFX_FUNCTION_ID_ENCODER_SET_INDEX_BUFFER
BGFX_FUNCTION_ID_ENCODER_SET_INSTANCE_COUNT
BGFX_FUNCTION_ID_ENCODER_SET_INSTANCE_DATA_BUFFER
BGFX_FUNCTION_ID_ENCODER_SET_INSTANCE_DATA_FROM_DYNAMIC_VERTEX_BUFFER
BGFX_FUNCTION_ID_ENCODER_SET_INSTANCE_DATA_FROM_VERTEX_BUFFER
BGFX_FUNCTION_ID_ENCODER_SET_MARKER
BGFX_FUNCTION_ID_ENCODER_SET_SCISSOR
BGFX_FUNCTION_ID_ENCODER_SET_SCISSOR_CACHED
BGFX_FUNCTION_ID_ENCODER_SET_STATE
BGFX_FUNCTION_ID_ENCODER_SET_STENCIL
BGFX_FUNCTION_ID_ENCODER_SET_TEXTURE
BGFX_FUNCTION_ID_ENCODER_SET_TRANSFORM
BGFX_FUNCTION_ID_ENCODER_SET_TRANSFORM_CACHED
BGFX_FUNCTION_ID_ENCODER_SET_TRANSIENT_INDEX_BUFFER
BGFX_FUNCTION_ID_ENCODER_SET_TRANSIENT_VERTEX_BUFFER
BGFX_FUNCTION_ID_ENCODER_SET_TRANSIENT_VERTEX_BUFFER_WITH_LAYOUT
BGFX_FUNCTION_ID_ENCODER_SET_UNIFORM
BGFX_FUNCTION_ID_ENCODER_SET_VERTEX_BUFFER
BGFX_FUNCTION_ID_ENCODER_SET_VERTEX_BUFFER_WITH_LAYOUT
BGFX_FUNCTION_ID_ENCODER_SET_VERTEX_COUNT
BGFX_FUNCTION_ID_ENCODER_SUBMIT
BGFX_FUNCTION_ID_ENCODER_SUBMIT_INDIRECT
BGFX_FUNCTION_ID_ENCODER_SUBMIT_INDIRECT_COUNT
BGFX_FUNCTION_ID_ENCODER_SUBMIT_OCCLUSION_QUERY
BGFX_FUNCTION_ID_ENCODER_TOUCH
BGFX_FUNCTION_ID_FRAME
BGFX_FUNCTION_ID_GET_AVAIL_INSTANCE_DATA_BUFFER
BGFX_FUNCTION_ID_GET_AVAIL_TRANSIENT_INDEX_BUFFER
BGFX_FUNCTION_ID_GET_AVAIL_TRANSIENT_VERTEX_BUFFER
BGFX_FUNCTION_ID_GET_CAPS
BGFX_FUNCTION_ID_GET_DIRECT_ACCESS_PTR
BGFX_FUNCTION_ID_GET_INTERNAL_DATA
BGFX_FUNCTION_ID_GET_RENDERER_NAME
BGFX_FUNCTION_ID_GET_RENDERER_TYPE
BGFX_FUNCTION_ID_GET_RESULT
BGFX_FUNCTION_ID_GET_SHADER_UNIFORMS
BGFX_FUNCTION_ID_GET_STATS
BGFX_FUNCTION_ID_GET_SUPPORTED_RENDERERS
BGFX_FUNCTION_ID_GET_TEXTURE
BGFX_FUNCTION_ID_GET_UNIFORM_INFO
BGFX_FUNCTION_ID_INIT
BGFX_FUNCTION_ID_INIT_CTOR
BGFX_FUNCTION_ID_IS_FRAME_BUFFER_VALID
BGFX_FUNCTION_ID_IS_TEXTURE_VALID
BGFX_FUNCTION_ID_MAKE_REF
BGFX_FUNCTION_ID_MAKE_REF_RELEASE
BGFX_FUNCTION_ID_OVERRIDE_INTERNAL_TEXTURE
BGFX_FUNCTION_ID_OVERRIDE_INTERNAL_TEXTURE_PTR
BGFX_FUNCTION_ID_READ_TEXTURE
BGFX_FUNCTION_ID_RENDER_FRAME
BGFX_FUNCTION_ID_REQUEST_SCREEN_SHOT
BGFX_FUNCTION_ID_RESET
BGFX_FUNCTION_ID_RESET_VIEW
BGFX_FUNCTION_ID_SET_COMPUTE_DYNAMIC_INDEX_BUFFER
BGFX_FUNCTION_ID_SET_COMPUTE_DYNAMIC_VERTEX_BUFFER
BGFX_FUNCTION_ID_SET_COMPUTE_INDEX_BUFFER
BGFX_FUNCTION_ID_SET_COMPUTE_INDIRECT_BUFFER
BGFX_FUNCTION_ID_SET_COMPUTE_VERTEX_BUFFER
BGFX_FUNCTION_ID_SET_CONDITION
BGFX_FUNCTION_ID_SET_DEBUG
BGFX_FUNCTION_ID_SET_DYNAMIC_INDEX_BUFFER
BGFX_FUNCTION_ID_SET_DYNAMIC_VERTEX_BUFFER
BGFX_FUNCTION_ID_SET_DYNAMIC_VERTEX_BUFFER_WITH_LAYOUT
BGFX_FUNCTION_ID_SET_FRAME_BUFFER_NAME
BGFX_FUNCTION_ID_SET_IMAGE
BGFX_FUNCTION_ID_SET_INDEX_BUFFER
BGFX_FUNCTION_ID_SET_INDEX_BUFFER_NAME
BGFX_FUNCTION_ID_SET_INSTANCE_COUNT
BGFX_FUNCTION_ID_SET_INSTANCE_DATA_BUFFER
BGFX_FUNCTION_ID_SET_INSTANCE_DATA_FROM_DYNAMIC_VERTEX_BUFFER
BGFX_FUNCTION_ID_SET_INSTANCE_DATA_FROM_VERTEX_BUFFER
BGFX_FUNCTION_ID_SET_MARKER
BGFX_FUNCTION_ID_SET_PALETTE_COLOR
BGFX_FUNCTION_ID_SET_PALETTE_COLOR_RGBA8
BGFX_FUNCTION_ID_SET_PLATFORM_DATA
BGFX_FUNCTION_ID_SET_SCISSOR
BGFX_FUNCTION_ID_SET_SCISSOR_CACHED
BGFX_FUNCTION_ID_SET_SHADER_NAME
BGFX_FUNCTION_ID_SET_STATE
BGFX_FUNCTION_ID_SET_STENCIL
BGFX_FUNCTION_ID_SET_TEXTURE
BGFX_FUNCTION_ID_SET_TEXTURE_NAME
BGFX_FUNCTION_ID_SET_TRANSFORM
BGFX_FUNCTION_ID_SET_TRANSFORM_CACHED
BGFX_FUNCTION_ID_SET_TRANSIENT_INDEX_BUFFER
BGFX_FUNCTION_ID_SET_TRANSIENT_VERTEX_BUFFER
BGFX_FUNCTION_ID_SET_TRANSIENT_VERTEX_BUFFER_WITH_LAYOUT
BGFX_FUNCTION_ID_SET_UNIFORM
BGFX_FUNCTION_ID_SET_VERTEX_BUFFER
BGFX_FUNCTION_ID_SET_VERTEX_BUFFER_NAME
BGFX_FUNCTION_ID_SET_VERTEX_BUFFER_WITH_LAYOUT
BGFX_FUNCTION_ID_SET_VERTEX_COUNT
BGFX_FUNCTION_ID_SET_VIEW_CLEAR
BGFX_FUNCTION_ID_SET_VIEW_CLEAR_MRT
BGFX_FUNCTION_ID_SET_VIEW_FRAME_BUFFER
BGFX_FUNCTION_ID_SET_VIEW_MODE
BGFX_FUNCTION_ID_SET_VIEW_NAME
BGFX_FUNCTION_ID_SET_VIEW_ORDER
BGFX_FUNCTION_ID_SET_VIEW_RECT
BGFX_FUNCTION_ID_SET_VIEW_RECT_RATIO
BGFX_FUNCTION_ID_SET_VIEW_SCISSOR
BGFX_FUNCTION_ID_SET_VIEW_TRANSFORM
BGFX_FUNCTION_ID_SHUTDOWN
BGFX_FUNCTION_ID_SUBMIT
BGFX_FUNCTION_ID_SUBMIT_INDIRECT
BGFX_FUNCTION_ID_SUBMIT_INDIRECT_COUNT
BGFX_FUNCTION_ID_SUBMIT_OCCLUSION_QUERY
BGFX_FUNCTION_ID_TOPOLOGY_CONVERT
BGFX_FUNCTION_ID_TOPOLOGY_SORT_TRI_LIST
BGFX_FUNCTION_ID_TOUCH
BGFX_FUNCTION_ID_UPDATE_DYNAMIC_INDEX_BUFFER
BGFX_FUNCTION_ID_UPDATE_DYNAMIC_VERTEX_BUFFER
BGFX_FUNCTION_ID_UPDATE_TEXTURE_2D
BGFX_FUNCTION_ID_UPDATE_TEXTURE_3D
BGFX_FUNCTION_ID_UPDATE_TEXTURE_CUBE
BGFX_FUNCTION_ID_VERTEX_CONVERT
BGFX_FUNCTION_ID_VERTEX_LAYOUT_ADD
BGFX_FUNCTION_ID_VERTEX_LAYOUT_BEGIN
BGFX_FUNCTION_ID_VERTEX_LAYOUT_DECODE
BGFX_FUNCTION_ID_VERTEX_LAYOUT_END
BGFX_FUNCTION_ID_VERTEX_LAYOUT_HAS
BGFX_FUNCTION_ID_VERTEX_LAYOUT_SKIP
BGFX_FUNCTION_ID_VERTEX_PACK
BGFX_FUNCTION_ID_VERTEX_UNPACK
BGFX_FUNCTION_ID_WELD_VERTICES
BGFX_NATIVE_WINDOW_HANDLE_TYPE_COUNT
( 1) Wayland.
BGFX_NATIVE_WINDOW_HANDLE_TYPE_DEFAULT
BGFX_NATIVE_WINDOW_HANDLE_TYPE_WAYLAND
( 0) Platform default handle type (X11 on Linux)
BGFX_OCCLUSION_QUERY_RESULT_COUNT
( 2) Query result is not available yet.
BGFX_OCCLUSION_QUERY_RESULT_INVISIBLE
BGFX_OCCLUSION_QUERY_RESULT_NORESULT
( 1) Query passed test.
BGFX_OCCLUSION_QUERY_RESULT_VISIBLE
( 0) Query failed test.
BGFX_PCI_ID_AMD
BGFX_PCI_ID_APPLE
BGFX_PCI_ID_ARM
BGFX_PCI_ID_INTEL
BGFX_PCI_ID_MICROSOFT
BGFX_PCI_ID_NONE
BGFX_PCI_ID_NVIDIA
BGFX_PCI_ID_SOFTWARE_RASTERIZER
BGFX_RENDERER_TYPE_AGC
( 0) No rendering.
BGFX_RENDERER_TYPE_COUNT
(11) WebGPU
BGFX_RENDERER_TYPE_DIRECT3D9
( 1) AGC
BGFX_RENDERER_TYPE_DIRECT3D11
( 2) Direct3D 9.0
BGFX_RENDERER_TYPE_DIRECT3D12
( 3) Direct3D 11.0
BGFX_RENDERER_TYPE_GNM
( 4) Direct3D 12.0
BGFX_RENDERER_TYPE_METAL
( 5) GNM
BGFX_RENDERER_TYPE_NOOP
BGFX_RENDERER_TYPE_NVN
( 6) Metal
BGFX_RENDERER_TYPE_OPENGL
( 8) OpenGL ES 2.0+
BGFX_RENDERER_TYPE_OPENGLES
( 7) NVN
BGFX_RENDERER_TYPE_VULKAN
( 9) OpenGL 2.1+
BGFX_RENDERER_TYPE_WEBGPU
(10) Vulkan
BGFX_RENDER_FRAME_COUNT
( 3) Renderer context is getting destroyed.
BGFX_RENDER_FRAME_EXITING
( 2) Renderer context wait for main thread signal timed out without rendering.
BGFX_RENDER_FRAME_NO_CONTEXT
BGFX_RENDER_FRAME_RENDER
( 0) Renderer context is not created yet.
BGFX_RENDER_FRAME_TIMEOUT
( 1) Renderer context is created and rendering.
BGFX_RESET_CAPTURE
BGFX_RESET_DEPTH_CLAMP
BGFX_RESET_FLIP_AFTER_RENDER
BGFX_RESET_FLUSH_AFTER_RENDER
BGFX_RESET_FULLSCREEN
BGFX_RESET_FULLSCREEN_MASK
BGFX_RESET_FULLSCREEN_SHIFT
BGFX_RESET_HDR10
BGFX_RESET_HIDPI
BGFX_RESET_MAXANISOTROPY
BGFX_RESET_MSAA_MASK
BGFX_RESET_MSAA_SHIFT
BGFX_RESET_MSAA_X2
BGFX_RESET_MSAA_X4
BGFX_RESET_MSAA_X8
BGFX_RESET_MSAA_X16
BGFX_RESET_NONE
BGFX_RESET_RESERVED_MASK
BGFX_RESET_RESERVED_SHIFT
BGFX_RESET_SRGB_BACKBUFFER
BGFX_RESET_SUSPEND
BGFX_RESET_TRANSPARENT_BACKBUFFER
BGFX_RESET_VSYNC
BGFX_RESOLVE_AUTO_GEN_MIPS
BGFX_RESOLVE_NONE
BGFX_SAMPLER_BITS_MASK
BGFX_SAMPLER_BORDER_COLOR_MASK
BGFX_SAMPLER_BORDER_COLOR_SHIFT
BGFX_SAMPLER_COMPARE_ALWAYS
BGFX_SAMPLER_COMPARE_EQUAL
BGFX_SAMPLER_COMPARE_GEQUAL
BGFX_SAMPLER_COMPARE_GREATER
BGFX_SAMPLER_COMPARE_LEQUAL
BGFX_SAMPLER_COMPARE_LESS
BGFX_SAMPLER_COMPARE_MASK
BGFX_SAMPLER_COMPARE_NEVER
BGFX_SAMPLER_COMPARE_NOTEQUAL
BGFX_SAMPLER_COMPARE_SHIFT
BGFX_SAMPLER_MAG_ANISOTROPIC
BGFX_SAMPLER_MAG_MASK
BGFX_SAMPLER_MAG_POINT
BGFX_SAMPLER_MAG_SHIFT
BGFX_SAMPLER_MIN_ANISOTROPIC
BGFX_SAMPLER_MIN_MASK
BGFX_SAMPLER_MIN_POINT
BGFX_SAMPLER_MIN_SHIFT
BGFX_SAMPLER_MIP_MASK
BGFX_SAMPLER_MIP_POINT
BGFX_SAMPLER_MIP_SHIFT
BGFX_SAMPLER_NONE
BGFX_SAMPLER_POINT
BGFX_SAMPLER_RESERVED_MASK
BGFX_SAMPLER_RESERVED_SHIFT
BGFX_SAMPLER_SAMPLE_STENCIL
BGFX_SAMPLER_UVW_BORDER
BGFX_SAMPLER_UVW_CLAMP
BGFX_SAMPLER_UVW_MIRROR
BGFX_SAMPLER_U_BORDER
BGFX_SAMPLER_U_CLAMP
BGFX_SAMPLER_U_MASK
BGFX_SAMPLER_U_MIRROR
BGFX_SAMPLER_U_SHIFT
BGFX_SAMPLER_V_BORDER
BGFX_SAMPLER_V_CLAMP
BGFX_SAMPLER_V_MASK
BGFX_SAMPLER_V_MIRROR
BGFX_SAMPLER_V_SHIFT
BGFX_SAMPLER_W_BORDER
BGFX_SAMPLER_W_CLAMP
BGFX_SAMPLER_W_MASK
BGFX_SAMPLER_W_MIRROR
BGFX_SAMPLER_W_SHIFT
BGFX_SHARED_LIB_BUILD
BGFX_SHARED_LIB_USE
BGFX_STATE_ALPHA_REF_MASK
BGFX_STATE_ALPHA_REF_SHIFT
BGFX_STATE_BLEND_ALPHA_TO_COVERAGE
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_MASK
BGFX_STATE_BLEND_ONE
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_CONSERVATIVE_RASTER
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_FRONT_CCW
BGFX_STATE_LINEAA
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_RESERVED_SHIFT
BGFX_STATE_WRITE_A
BGFX_STATE_WRITE_B
BGFX_STATE_WRITE_G
BGFX_STATE_WRITE_MASK
BGFX_STATE_WRITE_R
BGFX_STATE_WRITE_RGB
BGFX_STATE_WRITE_Z
BGFX_STENCIL_DEFAULT
BGFX_STENCIL_FUNC_REF_MASK
BGFX_STENCIL_FUNC_REF_SHIFT
BGFX_STENCIL_FUNC_RMASK_MASK
BGFX_STENCIL_FUNC_RMASK_SHIFT
BGFX_STENCIL_MASK
BGFX_STENCIL_NONE
BGFX_STENCIL_OP_FAIL_S_DECR
BGFX_STENCIL_OP_FAIL_S_DECRSAT
BGFX_STENCIL_OP_FAIL_S_INCR
BGFX_STENCIL_OP_FAIL_S_INCRSAT
BGFX_STENCIL_OP_FAIL_S_INVERT
BGFX_STENCIL_OP_FAIL_S_KEEP
BGFX_STENCIL_OP_FAIL_S_MASK
BGFX_STENCIL_OP_FAIL_S_REPLACE
BGFX_STENCIL_OP_FAIL_S_SHIFT
BGFX_STENCIL_OP_FAIL_S_ZERO
BGFX_STENCIL_OP_FAIL_Z_DECR
BGFX_STENCIL_OP_FAIL_Z_DECRSAT
BGFX_STENCIL_OP_FAIL_Z_INCR
BGFX_STENCIL_OP_FAIL_Z_INCRSAT
BGFX_STENCIL_OP_FAIL_Z_INVERT
BGFX_STENCIL_OP_FAIL_Z_KEEP
BGFX_STENCIL_OP_FAIL_Z_MASK
BGFX_STENCIL_OP_FAIL_Z_REPLACE
BGFX_STENCIL_OP_FAIL_Z_SHIFT
BGFX_STENCIL_OP_FAIL_Z_ZERO
BGFX_STENCIL_OP_PASS_Z_DECR
BGFX_STENCIL_OP_PASS_Z_DECRSAT
BGFX_STENCIL_OP_PASS_Z_INCR
BGFX_STENCIL_OP_PASS_Z_INCRSAT
BGFX_STENCIL_OP_PASS_Z_INVERT
BGFX_STENCIL_OP_PASS_Z_KEEP
BGFX_STENCIL_OP_PASS_Z_MASK
BGFX_STENCIL_OP_PASS_Z_REPLACE
BGFX_STENCIL_OP_PASS_Z_SHIFT
BGFX_STENCIL_OP_PASS_Z_ZERO
BGFX_STENCIL_TEST_ALWAYS
BGFX_STENCIL_TEST_EQUAL
BGFX_STENCIL_TEST_GEQUAL
BGFX_STENCIL_TEST_GREATER
BGFX_STENCIL_TEST_LEQUAL
BGFX_STENCIL_TEST_LESS
BGFX_STENCIL_TEST_MASK
BGFX_STENCIL_TEST_NEVER
BGFX_STENCIL_TEST_NOTEQUAL
BGFX_STENCIL_TEST_SHIFT
BGFX_TEXTURE_BLIT_DST
BGFX_TEXTURE_COMPUTE_WRITE
BGFX_TEXTURE_FORMAT_A8
(35)
BGFX_TEXTURE_FORMAT_ASTC4X4
(19) ATCI RGBA 8 BPP interpolated alpha
BGFX_TEXTURE_FORMAT_ASTC5X4
(20) ASTC 4x4 8.0 BPP
BGFX_TEXTURE_FORMAT_ASTC5X5
(21) ASTC 5x4 6.40 BPP
BGFX_TEXTURE_FORMAT_ASTC6X5
(22) ASTC 5x5 5.12 BPP
BGFX_TEXTURE_FORMAT_ASTC6X6
(23) ASTC 6x5 4.27 BPP
BGFX_TEXTURE_FORMAT_ASTC8X5
(24) ASTC 6x6 3.56 BPP
BGFX_TEXTURE_FORMAT_ASTC8X6
(25) ASTC 8x5 3.20 BPP
BGFX_TEXTURE_FORMAT_ASTC8X8
(26) ASTC 8x6 2.67 BPP
BGFX_TEXTURE_FORMAT_ASTC10X5
(27) ASTC 8x8 2.00 BPP
BGFX_TEXTURE_FORMAT_ASTC10X6
(28) ASTC 10x5 2.56 BPP
BGFX_TEXTURE_FORMAT_ASTC10X8
(29) ASTC 10x6 2.13 BPP
BGFX_TEXTURE_FORMAT_ASTC10X10
(30) ASTC 10x8 1.60 BPP
BGFX_TEXTURE_FORMAT_ASTC12X10
(31) ASTC 10x10 1.28 BPP
BGFX_TEXTURE_FORMAT_ASTC12X12
(32) ASTC 12x10 1.07 BPP
BGFX_TEXTURE_FORMAT_ATC
(16) PVRTC2 RGBA 4BPP
BGFX_TEXTURE_FORMAT_ATCE
(17) ATC RGB 4BPP
BGFX_TEXTURE_FORMAT_ATCI
(18) ATCE RGBA 8 BPP explicit alpha
BGFX_TEXTURE_FORMAT_B5G6R5
(78)
BGFX_TEXTURE_FORMAT_BC1
BGFX_TEXTURE_FORMAT_BC2
( 0) DXT1 R5G6B5A1
BGFX_TEXTURE_FORMAT_BC3
( 1) DXT3 R5G6B5A4
BGFX_TEXTURE_FORMAT_BC4
( 2) DXT5 R5G6B5A8
BGFX_TEXTURE_FORMAT_BC5
( 3) LATC1/ATI1 R8
BGFX_TEXTURE_FORMAT_BC7
( 5) BC6H RGB16F
BGFX_TEXTURE_FORMAT_BC6H
( 4) LATC2/ATI2 RG8
BGFX_TEXTURE_FORMAT_BGR5A1
(82)
BGFX_TEXTURE_FORMAT_BGRA4
(80)
BGFX_TEXTURE_FORMAT_BGRA8
(65)
BGFX_TEXTURE_FORMAT_COUNT
(95)
BGFX_TEXTURE_FORMAT_D0S8
(94)
BGFX_TEXTURE_FORMAT_D16
(87) Depth formats below.
BGFX_TEXTURE_FORMAT_D24
(88)
BGFX_TEXTURE_FORMAT_D32
(90)
BGFX_TEXTURE_FORMAT_D16F
(91)
BGFX_TEXTURE_FORMAT_D24F
(92)
BGFX_TEXTURE_FORMAT_D24S8
(89)
BGFX_TEXTURE_FORMAT_D32F
(93)
BGFX_TEXTURE_FORMAT_ETC1
( 6) BC7 RGB 4-7 bits per color channel, 0-8 bits alpha
BGFX_TEXTURE_FORMAT_ETC2
( 7) ETC1 RGB8
BGFX_TEXTURE_FORMAT_ETC2A
( 8) ETC2 RGB8
BGFX_TEXTURE_FORMAT_ETC2A1
( 9) ETC2 RGBA8
BGFX_TEXTURE_FORMAT_PTC12
(10) ETC2 RGB8A1
BGFX_TEXTURE_FORMAT_PTC14
(11) PVRTC1 RGB 2BPP
BGFX_TEXTURE_FORMAT_PTC22
(14) PVRTC1 RGBA 4BPP
BGFX_TEXTURE_FORMAT_PTC24
(15) PVRTC2 RGBA 2BPP
BGFX_TEXTURE_FORMAT_PTC12A
(12) PVRTC1 RGB 4BPP
BGFX_TEXTURE_FORMAT_PTC14A
(13) PVRTC1 RGBA 2BPP
BGFX_TEXTURE_FORMAT_R1
(34) Compressed formats above.
BGFX_TEXTURE_FORMAT_R8
(36)
BGFX_TEXTURE_FORMAT_R5G6B5
(79)
BGFX_TEXTURE_FORMAT_R8I
(37)
BGFX_TEXTURE_FORMAT_R8S
(39)
BGFX_TEXTURE_FORMAT_R8U
(38)
BGFX_TEXTURE_FORMAT_R16
(40)
BGFX_TEXTURE_FORMAT_R16F
(43)
BGFX_TEXTURE_FORMAT_R16I
(41)
BGFX_TEXTURE_FORMAT_R16S
(44)
BGFX_TEXTURE_FORMAT_R16U
(42)
BGFX_TEXTURE_FORMAT_R32F
(47)
BGFX_TEXTURE_FORMAT_R32I
(45)
BGFX_TEXTURE_FORMAT_R32U
(46)
BGFX_TEXTURE_FORMAT_RG8
(48)
BGFX_TEXTURE_FORMAT_RG8I
(49)
BGFX_TEXTURE_FORMAT_RG8S
(51)
BGFX_TEXTURE_FORMAT_RG8U
(50)
BGFX_TEXTURE_FORMAT_RG16
(52)
BGFX_TEXTURE_FORMAT_RG11B10F
(85)
BGFX_TEXTURE_FORMAT_RG16F
(55)
BGFX_TEXTURE_FORMAT_RG16I
(53)
BGFX_TEXTURE_FORMAT_RG16S
(56)
BGFX_TEXTURE_FORMAT_RG16U
(54)
BGFX_TEXTURE_FORMAT_RG32F
(59)
BGFX_TEXTURE_FORMAT_RG32I
(57)
BGFX_TEXTURE_FORMAT_RG32U
(58)
BGFX_TEXTURE_FORMAT_RGB8
(60)
BGFX_TEXTURE_FORMAT_RGB5A1
(83)
BGFX_TEXTURE_FORMAT_RGB8I
(61)
BGFX_TEXTURE_FORMAT_RGB8S
(63)
BGFX_TEXTURE_FORMAT_RGB8U
(62)
BGFX_TEXTURE_FORMAT_RGB9E5F
(64)
BGFX_TEXTURE_FORMAT_RGB10A2
(84)
BGFX_TEXTURE_FORMAT_RGBA4
(81)
BGFX_TEXTURE_FORMAT_RGBA8
(66)
BGFX_TEXTURE_FORMAT_RGBA8I
(67)
BGFX_TEXTURE_FORMAT_RGBA8S
(69)
BGFX_TEXTURE_FORMAT_RGBA8U
(68)
BGFX_TEXTURE_FORMAT_RGBA16
(70)
BGFX_TEXTURE_FORMAT_RGBA16F
(73)
BGFX_TEXTURE_FORMAT_RGBA16I
(71)
BGFX_TEXTURE_FORMAT_RGBA16S
(74)
BGFX_TEXTURE_FORMAT_RGBA16U
(72)
BGFX_TEXTURE_FORMAT_RGBA32F
(77)
BGFX_TEXTURE_FORMAT_RGBA32I
(75)
BGFX_TEXTURE_FORMAT_RGBA32U
(76)
BGFX_TEXTURE_FORMAT_UNKNOWN
(33) ASTC 12x12 0.89 BPP
BGFX_TEXTURE_FORMAT_UNKNOWNDEPTH
(86)
BGFX_TEXTURE_MSAA_SAMPLE
BGFX_TEXTURE_NONE
BGFX_TEXTURE_READ_BACK
BGFX_TEXTURE_RT
BGFX_TEXTURE_RT_MASK
BGFX_TEXTURE_RT_MSAA_MASK
BGFX_TEXTURE_RT_MSAA_SHIFT
BGFX_TEXTURE_RT_MSAA_X2
BGFX_TEXTURE_RT_MSAA_X4
BGFX_TEXTURE_RT_MSAA_X8
BGFX_TEXTURE_RT_MSAA_X16
BGFX_TEXTURE_RT_SHIFT
BGFX_TEXTURE_RT_WRITE_ONLY
BGFX_TEXTURE_SRGB
BGFX_TOPOLOGY_CONVERT_COUNT
( 4) Convert line strip to line list.
BGFX_TOPOLOGY_CONVERT_LINE_STRIP_TO_LINE_LIST
( 3) Convert triangle strip to triangle list.
BGFX_TOPOLOGY_CONVERT_TRI_LIST_FLIP_WINDING
BGFX_TOPOLOGY_CONVERT_TRI_LIST_TO_LINE_LIST
( 1) Flip winding order of triangle strip.
BGFX_TOPOLOGY_CONVERT_TRI_STRIP_FLIP_WINDING
( 0) Flip winding order of triangle list.
BGFX_TOPOLOGY_CONVERT_TRI_STRIP_TO_TRI_LIST
( 2) Convert triangle list to line list.
BGFX_TOPOLOGY_COUNT
( 4) Point list.
BGFX_TOPOLOGY_LINE_LIST
( 1) Triangle strip.
BGFX_TOPOLOGY_LINE_STRIP
( 2) Line list.
BGFX_TOPOLOGY_POINT_LIST
( 3) Line strip.
BGFX_TOPOLOGY_SORT_COUNT
(11)
BGFX_TOPOLOGY_SORT_DIRECTION_BACK_TO_FRONT_AVG
( 3)
BGFX_TOPOLOGY_SORT_DIRECTION_BACK_TO_FRONT_MAX
( 4)
BGFX_TOPOLOGY_SORT_DIRECTION_BACK_TO_FRONT_MIN
( 2)
BGFX_TOPOLOGY_SORT_DIRECTION_FRONT_TO_BACK_AVG
( 0)
BGFX_TOPOLOGY_SORT_DIRECTION_FRONT_TO_BACK_MAX
( 1)
BGFX_TOPOLOGY_SORT_DIRECTION_FRONT_TO_BACK_MIN
BGFX_TOPOLOGY_SORT_DISTANCE_BACK_TO_FRONT_AVG
( 9)
BGFX_TOPOLOGY_SORT_DISTANCE_BACK_TO_FRONT_MAX
(10)
BGFX_TOPOLOGY_SORT_DISTANCE_BACK_TO_FRONT_MIN
( 8)
BGFX_TOPOLOGY_SORT_DISTANCE_FRONT_TO_BACK_AVG
( 6)
BGFX_TOPOLOGY_SORT_DISTANCE_FRONT_TO_BACK_MAX
( 7)
BGFX_TOPOLOGY_SORT_DISTANCE_FRONT_TO_BACK_MIN
( 5)
BGFX_TOPOLOGY_TRI_LIST
BGFX_TOPOLOGY_TRI_STRIP
( 0) Triangle list.
BGFX_UNIFORM_TYPE_COUNT
( 4) 4x4 matrix.
BGFX_UNIFORM_TYPE_END
( 0) Sampler.
BGFX_UNIFORM_TYPE_MAT3
( 2) 4 floats vector.
BGFX_UNIFORM_TYPE_MAT4
( 3) 3x3 matrix.
BGFX_UNIFORM_TYPE_SAMPLER
BGFX_UNIFORM_TYPE_VEC4
( 1) Reserved, do not use.
BGFX_VIEW_MODE_COUNT
( 3) Sort draw call depth in descending order.
BGFX_VIEW_MODE_DEFAULT
BGFX_VIEW_MODE_DEPTH_ASCENDING
( 1) Sort in the same order in which submit calls were called.
BGFX_VIEW_MODE_DEPTH_DESCENDING
( 2) Sort draw call depth in ascending order.
BGFX_VIEW_MODE_SEQUENTIAL
( 0) Default sort order.
BIG_ENDIAN
BX_ARCH_32BIT
BX_ARCH_64BIT
BX_ARCH_NAME
BX_CACHE_LINE_SIZE
BX_COMPILER_CLANG
BX_COMPILER_CLANG_ANALYZER
BX_COMPILER_GCC
BX_COMPILER_MSVC
BX_CPP_NAME
BX_CPU_ARM
BX_CPU_ENDIAN_BIG
BX_CPU_ENDIAN_LITTLE
BX_CPU_JIT
BX_CPU_MIPS
BX_CPU_NAME
BX_CPU_PPC
BX_CPU_RISCV
BX_CPU_X86
BX_CRT_BIONIC
BX_CRT_BSD
BX_CRT_GLIBC
BX_CRT_LIBCXX
BX_CRT_MINGW
BX_CRT_MSVC
BX_CRT_NAME
BX_CRT_NEWLIB
BX_CRT_NONE
BX_LANGUAGE_CPP14
BX_LANGUAGE_CPP17
BX_LANGUAGE_CPP20
BX_LANGUAGE_CPP23
BX_PLATFORM_ANDROID
BX_PLATFORM_BSD
BX_PLATFORM_EMSCRIPTEN
BX_PLATFORM_HAIKU
BX_PLATFORM_HURD
BX_PLATFORM_IOS
BX_PLATFORM_LINUX
BX_PLATFORM_NAME
BX_PLATFORM_NX
BX_PLATFORM_OSX
BX_PLATFORM_PS4
BX_PLATFORM_PS5
BX_PLATFORM_RPI
BX_PLATFORM_WINDOWS
BX_PLATFORM_WINRT
BX_PLATFORM_XBOXONE
BYTE_ORDER
EXIT_FAILURE
EXIT_SUCCESS
FD_SETSIZE
INT8_MAX
INT8_MIN
INT16_MAX
INT16_MIN
INT32_MAX
INT32_MIN
INTPTR_MAX
INTPTR_MIN
INT_FAST8_MAX
INT_FAST8_MIN
INT_FAST16_MAX
INT_FAST16_MIN
INT_FAST32_MAX
INT_FAST32_MIN
INT_LEAST8_MAX
INT_LEAST8_MIN
INT_LEAST16_MAX
INT_LEAST16_MIN
INT_LEAST32_MAX
INT_LEAST32_MIN
LITTLE_ENDIAN
PDP_ENDIAN
PTRDIFF_MAX
PTRDIFF_MIN
RAND_MAX
SIG_ATOMIC_MAX
SIG_ATOMIC_MIN
SIZE_MAX
UINT8_MAX
UINT16_MAX
UINT32_MAX
UINTPTR_MAX
UINT_FAST8_MAX
UINT_FAST16_MAX
UINT_FAST32_MAX
UINT_LEAST8_MAX
UINT_LEAST16_MAX
UINT_LEAST32_MAX
WCONTINUED
WEXITED
WINT_MAX
WINT_MIN
WNOHANG
WNOWAIT
WSTOPPED
WUNTRACED
_ALLOCA_H
_ATFILE_SOURCE
_BITS_BYTESWAP_H
_BITS_ENDIANNESS_H
_BITS_ENDIAN_H
_BITS_PTHREADTYPES_ARCH_H
_BITS_PTHREADTYPES_COMMON_H
_BITS_STDINT_INTN_H
_BITS_STDINT_UINTN_H
_BITS_TIME64_H
_BITS_TYPESIZES_H
_BITS_TYPES_H
_BITS_UINTN_IDENTITY_H
_BITS_WCHAR_H
_DEFAULT_SOURCE
_ENDIAN_H
_FEATURES_H
_POSIX_C_SOURCE
_POSIX_SOURCE
_STDC_PREDEF_H
_STDINT_H
_STDLIB_H
_STRUCT_TIMESPEC
_SYS_CDEFS_H
_SYS_SELECT_H
_SYS_TYPES_H
_THREAD_MUTEX_INTERNAL_H
_THREAD_SHARED_TYPES_H
__BIG_ENDIAN
__BIT_TYPES_DEFINED__
__BYTE_ORDER
__FD_SETSIZE
__FLOAT_WORD_ORDER
__GLIBC_MINOR__
__GLIBC_USE_DEPRECATED_GETS
__GLIBC_USE_DEPRECATED_SCANF
__GLIBC_USE_IEC_60559_BFP_EXT
__GLIBC_USE_IEC_60559_BFP_EXT_C2X
__GLIBC_USE_IEC_60559_EXT
__GLIBC_USE_IEC_60559_FUNCS_EXT
__GLIBC_USE_IEC_60559_FUNCS_EXT_C2X
__GLIBC_USE_IEC_60559_TYPES_EXT
__GLIBC_USE_ISOC2X
__GLIBC_USE_LIB_EXT2
__GLIBC__
__GNUC_VA_LIST
__GNU_LIBRARY__
__HAVE_DISTINCT_FLOAT16
__HAVE_DISTINCT_FLOAT32
__HAVE_DISTINCT_FLOAT64
__HAVE_DISTINCT_FLOAT32X
__HAVE_DISTINCT_FLOAT64X
__HAVE_DISTINCT_FLOAT128
__HAVE_DISTINCT_FLOAT128X
__HAVE_FLOAT16
__HAVE_FLOAT32
__HAVE_FLOAT64
__HAVE_FLOAT32X
__HAVE_FLOAT64X
__HAVE_FLOAT64X_LONG_DOUBLE
__HAVE_FLOAT128
__HAVE_FLOAT128X
__HAVE_FLOATN_NOT_TYPEDEF
__HAVE_GENERIC_SELECTION
__INO_T_MATCHES_INO64_T
__KERNEL_OLD_TIMEVAL_MATCHES_TIMEVAL64
__LDOUBLE_REDIRECTS_TO_FLOAT128_ABI
__LITTLE_ENDIAN
__OFF_T_MATCHES_OFF64_T
__PDP_ENDIAN
__PTHREAD_MUTEX_HAVE_PREV
__RLIM_T_MATCHES_RLIM64_T
__SIZEOF_PTHREAD_ATTR_T
__SIZEOF_PTHREAD_BARRIERATTR_T
__SIZEOF_PTHREAD_BARRIER_T
__SIZEOF_PTHREAD_CONDATTR_T
__SIZEOF_PTHREAD_COND_T
__SIZEOF_PTHREAD_MUTEXATTR_T
__SIZEOF_PTHREAD_MUTEX_T
__SIZEOF_PTHREAD_RWLOCKATTR_T
__SIZEOF_PTHREAD_RWLOCK_T
__STATFS_MATCHES_STATFS64
__STDC_IEC_559_COMPLEX__
__STDC_IEC_559__
__STDC_IEC_60559_BFP__
__STDC_IEC_60559_COMPLEX__
__STDC_ISO_10646__
__SYSCALL_WORDSIZE
__TIMESIZE
__USE_ATFILE
__USE_FORTIFY_LEVEL
__USE_ISOC11
__USE_ISOC95
__USE_ISOC99
__USE_MISC
__USE_POSIX
__USE_POSIX2
__USE_POSIX199309
__USE_POSIX199506
__USE_POSIX_IMPLICITLY
__USE_XOPEN2K
__USE_XOPEN2K8
__WALL
__WCLONE
__WCOREFLAG
__WNOTHREAD
__WORDSIZE
__WORDSIZE_TIME64_COMPAT32
__W_CONTINUED
__bool_true_false_are_defined
__clock_t_defined
__clockid_t_defined
__glibc_c99_flexarr_available
__have_pthread_attr_t
__ldiv_t_defined
__lldiv_t_defined
__sigset_t_defined
__time_t_defined
__timer_t_defined
__timeval_defined
false_
true_

Functions§

_Exit
__ctype_get_mb_cur_max
a64l
abort
abs
aligned_alloc
alloca
at_quick_exit
atexit
atof
atoi
atol
atoll
bgfx_alloc
Allocate buffer to pass to bgfx calls. Data will be freed inside bgfx.
bgfx_alloc_instance_data_buffer
Allocate instance data buffer.
bgfx_alloc_transform
Reserve matrices in internal matrix cache. @attention Pointer returned can be modified until bgfx::frame is called.
bgfx_alloc_transient_buffers
Check for required space and allocate transient vertex and index buffers. If both space requirements are satisfied function returns true.
bgfx_alloc_transient_index_buffer
Allocate transient index buffer.
bgfx_alloc_transient_vertex_buffer
Allocate transient vertex buffer.
bgfx_attachment_init
Init attachment.
bgfx_blit
Blit 2D texture region between two 2D textures. @attention Destination texture must be created with BGFX_TEXTURE_BLIT_DST flag. @attention Availability depends on: BGFX_CAPS_TEXTURE_BLIT.
bgfx_calc_texture_size
Calculate amount of memory required for texture.
bgfx_copy
Allocate buffer and copy data into it. Data will be freed inside bgfx.
bgfx_create_compute_program
Create program with compute shader.
bgfx_create_dynamic_index_buffer
Create empty dynamic index buffer.
bgfx_create_dynamic_index_buffer_mem
Create a dynamic index buffer and initialize it.
bgfx_create_dynamic_vertex_buffer
Create empty dynamic vertex buffer.
bgfx_create_dynamic_vertex_buffer_mem
Create dynamic vertex buffer and initialize it.
bgfx_create_frame_buffer
Create frame buffer (simple).
bgfx_create_frame_buffer_from_attachment
Create MRT frame buffer from texture handles with specific layer and mip level.
bgfx_create_frame_buffer_from_handles
Create MRT frame buffer from texture handles (simple).
bgfx_create_frame_buffer_from_nwh
Create frame buffer for multiple window rendering. @remarks Frame buffer cannot be used for sampling. @attention Availability depends on: BGFX_CAPS_SWAP_CHAIN.
bgfx_create_frame_buffer_scaled
Create frame buffer with size based on back-buffer ratio. Frame buffer will maintain ratio if back buffer resolution changes.
bgfx_create_index_buffer
Create static index buffer.
bgfx_create_indirect_buffer
Create draw indirect buffer.
bgfx_create_occlusion_query
Create occlusion query.
bgfx_create_program
Create program with vertex and fragment shaders.
bgfx_create_shader
Create shader from memory buffer.
bgfx_create_texture
Create texture from memory buffer.
bgfx_create_texture_2d
Create 2D texture.
bgfx_create_texture_2d_scaled
Create texture with size based on back-buffer ratio. Texture will maintain ratio if back buffer resolution changes.
bgfx_create_texture_3d
Create 3D texture.
bgfx_create_texture_cube
Create Cube texture.
bgfx_create_uniform
Create shader uniform parameter. @remarks
bgfx_create_vertex_buffer
Create static vertex buffer.
bgfx_create_vertex_layout
Create vertex layout.
bgfx_dbg_text_clear
Clear internal debug text buffer.
bgfx_dbg_text_image
Draw image into internal debug text buffer.
bgfx_dbg_text_printf
Print formatted data to internal debug text character-buffer (VGA-compatible text mode).
bgfx_dbg_text_vprintf
Print formatted data from variable argument list to internal debug text character-buffer (VGA-compatible text mode).
bgfx_destroy_dynamic_index_buffer
Destroy dynamic index buffer.
bgfx_destroy_dynamic_vertex_buffer
Destroy dynamic vertex buffer.
bgfx_destroy_frame_buffer
Destroy frame buffer.
bgfx_destroy_index_buffer
Destroy static index buffer.
bgfx_destroy_indirect_buffer
Destroy draw indirect buffer.
bgfx_destroy_occlusion_query
Destroy occlusion query.
bgfx_destroy_program
Destroy program.
bgfx_destroy_shader
Destroy shader. @remark Once a shader program is created with _handle, it is safe to destroy that shader.
bgfx_destroy_texture
Destroy texture.
bgfx_destroy_uniform
Destroy shader uniform parameter.
bgfx_destroy_vertex_buffer
Destroy static vertex buffer.
bgfx_destroy_vertex_layout
Destroy vertex layout.
bgfx_discard
Discard previously set state for draw or compute call.
bgfx_dispatch
Dispatch compute.
bgfx_dispatch_indirect
Dispatch compute indirect.
bgfx_encoder_alloc_transform
Reserve matrices in internal matrix cache. @attention Pointer returned can be modified until bgfx::frame is called.
bgfx_encoder_begin
Begin submitting draw calls from thread.
bgfx_encoder_blit
Blit 2D texture region between two 2D textures. @attention Destination texture must be created with BGFX_TEXTURE_BLIT_DST flag. @attention Availability depends on: BGFX_CAPS_TEXTURE_BLIT.
bgfx_encoder_discard
Discard previously set state for draw or compute call.
bgfx_encoder_dispatch
Dispatch compute.
bgfx_encoder_dispatch_indirect
Dispatch compute indirect.
bgfx_encoder_end
End submitting draw calls from thread.
bgfx_encoder_set_compute_dynamic_index_buffer
Set compute dynamic index buffer.
bgfx_encoder_set_compute_dynamic_vertex_buffer
Set compute dynamic vertex buffer.
bgfx_encoder_set_compute_index_buffer
Set compute index buffer.
bgfx_encoder_set_compute_indirect_buffer
Set compute indirect buffer.
bgfx_encoder_set_compute_vertex_buffer
Set compute vertex buffer.
bgfx_encoder_set_condition
Set condition for rendering.
bgfx_encoder_set_dynamic_index_buffer
Set index buffer for draw primitive.
bgfx_encoder_set_dynamic_vertex_buffer
Set vertex buffer for draw primitive.
bgfx_encoder_set_dynamic_vertex_buffer_with_layout
bgfx_encoder_set_image
Set compute image from texture.
bgfx_encoder_set_index_buffer
Set index buffer for draw primitive.
bgfx_encoder_set_instance_count
Set number of instances for auto generated instances use in conjunction with gl_InstanceID. @attention Availability depends on: BGFX_CAPS_VERTEX_ID.
bgfx_encoder_set_instance_data_buffer
Set instance data buffer for draw primitive.
bgfx_encoder_set_instance_data_from_dynamic_vertex_buffer
Set instance data buffer for draw primitive.
bgfx_encoder_set_instance_data_from_vertex_buffer
Set instance data buffer for draw primitive.
bgfx_encoder_set_marker
Sets a debug marker. This allows you to group graphics calls together for easy browsing in graphics debugging tools.
bgfx_encoder_set_scissor
Set scissor for draw primitive. @remark To scissor for all primitives in view see bgfx::setViewScissor.
bgfx_encoder_set_scissor_cached
Set scissor from cache for draw primitive. @remark To scissor for all primitives in view see bgfx::setViewScissor.
bgfx_encoder_set_state
Set render states for draw primitive. @remarks
bgfx_encoder_set_stencil
Set stencil test state.
bgfx_encoder_set_texture
Set texture stage for draw primitive.
bgfx_encoder_set_transform
Set model matrix for draw primitive. If it is not called, the model will be rendered with an identity model matrix.
bgfx_encoder_set_transform_cached
Set model matrix from matrix cache for draw primitive.
bgfx_encoder_set_transient_index_buffer
Set index buffer for draw primitive.
bgfx_encoder_set_transient_vertex_buffer
Set vertex buffer for draw primitive.
bgfx_encoder_set_transient_vertex_buffer_with_layout
Set vertex buffer for draw primitive.
bgfx_encoder_set_uniform
Set shader uniform parameter for draw primitive.
bgfx_encoder_set_vertex_buffer
Set vertex buffer for draw primitive.
bgfx_encoder_set_vertex_buffer_with_layout
Set vertex buffer for draw primitive.
bgfx_encoder_set_vertex_count
Set number of vertices for auto generated vertices use in conjunction with gl_VertexID. @attention Availability depends on: BGFX_CAPS_VERTEX_ID.
bgfx_encoder_submit
Submit primitive for rendering.
bgfx_encoder_submit_indirect
Submit primitive for rendering with index and instance data info from indirect buffer. @attention Availability depends on: BGFX_CAPS_DRAW_INDIRECT.
bgfx_encoder_submit_indirect_count
Submit primitive for rendering with index and instance data info and draw count from indirect buffers. @attention Availability depends on: BGFX_CAPS_DRAW_INDIRECT_COUNT.
bgfx_encoder_submit_occlusion_query
Submit primitive with occlusion query for rendering.
bgfx_encoder_touch
Submit an empty primitive for rendering. Uniforms and draw state will be applied but no geometry will be submitted. Useful in cases when no other draw/compute primitive is submitted to view, but it’s desired to execute clear view. @remark These empty draw calls will sort before ordinary draw calls.
bgfx_frame
Advance to next frame. When using multithreaded renderer, this call just swaps internal buffers, kicks render thread, and returns. In singlethreaded renderer this call does frame rendering.
bgfx_get_avail_instance_data_buffer
Returns number of requested or maximum available instance buffer slots.
bgfx_get_avail_transient_index_buffer
Returns number of requested or maximum available indices.
bgfx_get_avail_transient_vertex_buffer
Returns number of requested or maximum available vertices.
bgfx_get_caps
Returns renderer capabilities. @remarks Library must be initialized.
bgfx_get_direct_access_ptr
Returns texture direct access pointer. @attention Availability depends on: BGFX_CAPS_TEXTURE_DIRECT_ACCESS. This feature is available on GPUs that have unified memory architecture (UMA) support.
bgfx_get_interface
bgfx_get_internal_data
Get internal data for interop. @attention It’s expected you understand some bgfx internals before you use this call. @warning Must be called only on render thread.
bgfx_get_renderer_name
Returns name of renderer.
bgfx_get_renderer_type
Returns current renderer backend API type. @remarks Library must be initialized.
bgfx_get_result
Retrieve occlusion query result from previous frame.
bgfx_get_shader_uniforms
Returns the number of uniforms and uniform handles used inside a shader. @remarks Only non-predefined uniforms are returned.
bgfx_get_stats
Returns performance counters. @attention Pointer returned is valid until bgfx::frame is called.
bgfx_get_supported_renderers
Returns supported backend API renderers.
bgfx_get_texture
Obtain texture handle of frame buffer attachment.
bgfx_get_uniform_info
Retrieve uniform info.
bgfx_init
Initialize the bgfx library.
bgfx_init_ctor
bgfx_is_frame_buffer_valid
Validate frame buffer parameters.
bgfx_is_texture_valid
Validate texture parameters.
bgfx_make_ref
Make reference to data to pass to bgfx. Unlike bgfx::alloc, this call doesn’t allocate memory for data. It just copies the _data pointer. You can pass ReleaseFn function pointer to release this memory after it’s consumed, otherwise you must make sure _data is available for at least 2 bgfx::frame calls. ReleaseFn function must be able to be called from any thread. @attention Data passed must be available for at least 2 bgfx::frame calls.
bgfx_make_ref_release
Make reference to data to pass to bgfx. Unlike bgfx::alloc, this call doesn’t allocate memory for data. It just copies the _data pointer. You can pass ReleaseFn function pointer to release this memory after it’s consumed, otherwise you must make sure _data is available for at least 2 bgfx::frame calls. ReleaseFn function must be able to be called from any thread. @attention Data passed must be available for at least 2 bgfx::frame calls.
bgfx_override_internal_texture
Override internal texture by creating new texture. Previously created internal texture will released. @attention It’s expected you understand some bgfx internals before you use this call. @returns Native API pointer to texture. If result is 0, texture is not created yet from the main thread. @warning Must be called only on render thread.
bgfx_override_internal_texture_ptr
Override internal texture with externally created texture. Previously created internal texture will released. @attention It’s expected you understand some bgfx internals before you use this call. @warning Must be called only on render thread.
bgfx_read_texture
Read back texture content. @attention Texture must be created with BGFX_TEXTURE_READ_BACK flag. @attention Availability depends on: BGFX_CAPS_TEXTURE_READ_BACK.
bgfx_render_frame
Render frame. @attention bgfx::renderFrame is blocking call. It waits for bgfx::frame to be called from API thread to process frame. If timeout value is passed call will timeout and return even if bgfx::frame is not called. @warning This call should be only used on platforms that don’t allow creating separate rendering thread. If it is called before to bgfx::init, render thread won’t be created by bgfx::init call.
bgfx_request_screen_shot
Request screen shot of window back buffer. @remarks bgfx::CallbackI::screenShot must be implemented. @attention Frame buffer handle must be created with OS’ target native window handle.
bgfx_reset
Reset graphic settings and back-buffer size. @attention This call doesn’t change the window size, it just resizes the back-buffer. Your windowing code controls the window size.
bgfx_reset_view
Reset all view settings to default.
bgfx_set_compute_dynamic_index_buffer
Set compute dynamic index buffer.
bgfx_set_compute_dynamic_vertex_buffer
Set compute dynamic vertex buffer.
bgfx_set_compute_index_buffer
Set compute index buffer.
bgfx_set_compute_indirect_buffer
Set compute indirect buffer.
bgfx_set_compute_vertex_buffer
Set compute vertex buffer.
bgfx_set_condition
Set condition for rendering.
bgfx_set_debug
Set debug flags.
bgfx_set_dynamic_index_buffer
Set index buffer for draw primitive.
bgfx_set_dynamic_vertex_buffer
Set vertex buffer for draw primitive.
bgfx_set_dynamic_vertex_buffer_with_layout
Set vertex buffer for draw primitive.
bgfx_set_frame_buffer_name
Set frame buffer debug name.
bgfx_set_image
Set compute image from texture.
bgfx_set_index_buffer
Set index buffer for draw primitive.
bgfx_set_index_buffer_name
Set static index buffer debug name.
bgfx_set_instance_count
Set number of instances for auto generated instances use in conjunction with gl_InstanceID. @attention Availability depends on: BGFX_CAPS_VERTEX_ID.
bgfx_set_instance_data_buffer
Set instance data buffer for draw primitive.
bgfx_set_instance_data_from_dynamic_vertex_buffer
Set instance data buffer for draw primitive.
bgfx_set_instance_data_from_vertex_buffer
Set instance data buffer for draw primitive.
bgfx_set_marker
Sets a debug marker. This allows you to group graphics calls together for easy browsing in graphics debugging tools.
bgfx_set_palette_color
Set palette color value.
bgfx_set_palette_color_rgba8
Set palette color value.
bgfx_set_platform_data
Set platform data. @warning Must be called before bgfx::init.
bgfx_set_scissor
Set scissor for draw primitive. @remark To scissor for all primitives in view see bgfx::setViewScissor.
bgfx_set_scissor_cached
Set scissor from cache for draw primitive. @remark To scissor for all primitives in view see bgfx::setViewScissor.
bgfx_set_shader_name
Set shader debug name.
bgfx_set_state
Set render states for draw primitive. @remarks
bgfx_set_stencil
Set stencil test state.
bgfx_set_texture
Set texture stage for draw primitive.
bgfx_set_texture_name
Set texture debug name.
bgfx_set_transform
Set model matrix for draw primitive. If it is not called, the model will be rendered with an identity model matrix.
bgfx_set_transform_cached
Set model matrix from matrix cache for draw primitive.
bgfx_set_transient_index_buffer
Set index buffer for draw primitive.
bgfx_set_transient_vertex_buffer
Set vertex buffer for draw primitive.
bgfx_set_transient_vertex_buffer_with_layout
Set vertex buffer for draw primitive.
bgfx_set_uniform
Set shader uniform parameter for draw primitive.
bgfx_set_vertex_buffer
Set vertex buffer for draw primitive.
bgfx_set_vertex_buffer_name
Set static vertex buffer debug name.
bgfx_set_vertex_buffer_with_layout
Set vertex buffer for draw primitive.
bgfx_set_vertex_count
Set number of vertices for auto generated vertices use in conjunction with gl_VertexID. @attention Availability depends on: BGFX_CAPS_VERTEX_ID.
bgfx_set_view_clear
Set view clear flags.
bgfx_set_view_clear_mrt
Set view clear flags with different clear color for each frame buffer texture. bgfx::setPaletteColor must be used to set up a clear color palette.
bgfx_set_view_frame_buffer
Set view frame buffer. @remarks Not persistent after bgfx::reset call.
bgfx_set_view_mode
Set view sorting mode. @remarks View mode must be set prior calling bgfx::submit for the view.
bgfx_set_view_name
Set view name. @remarks This is debug only feature. In graphics debugger view name will appear as: “nnnc ” ^ ^ ^ | +— compute (C) +—— view id
bgfx_set_view_order
Post submit view reordering.
bgfx_set_view_rect
Set view rectangle. Draw primitive outside view will be clipped.
bgfx_set_view_rect_ratio
Set view rectangle. Draw primitive outside view will be clipped.
bgfx_set_view_scissor
Set view scissor. Draw primitive outside view will be clipped. When _x, _y, _width and _height are set to 0, scissor will be disabled.
bgfx_set_view_transform
Set view’s view matrix and projection matrix, all draw primitives in this view will use these two matrices.
bgfx_shutdown
Shutdown bgfx library.
bgfx_submit
Submit primitive for rendering.
bgfx_submit_indirect
Submit primitive for rendering with index and instance data info from indirect buffer. @attention Availability depends on: BGFX_CAPS_DRAW_INDIRECT.
bgfx_submit_indirect_count
Submit primitive for rendering with index and instance data info and draw count from indirect buffers. @attention Availability depends on: BGFX_CAPS_DRAW_INDIRECT_COUNT.
bgfx_submit_occlusion_query
Submit primitive with occlusion query for rendering.
bgfx_topology_convert
Convert index buffer for use with different primitive topologies.
bgfx_topology_sort_tri_list
Sort indices.
bgfx_touch
Submit an empty primitive for rendering. Uniforms and draw state will be applied but no geometry will be submitted. @remark These empty draw calls will sort before ordinary draw calls.
bgfx_update_dynamic_index_buffer
Update dynamic index buffer.
bgfx_update_dynamic_vertex_buffer
Update dynamic vertex buffer.
bgfx_update_texture_2d
Update 2D texture. @attention It’s valid to update only mutable texture. See bgfx::createTexture2D for more info.
bgfx_update_texture_3d
Update 3D texture. @attention It’s valid to update only mutable texture. See bgfx::createTexture3D for more info.
bgfx_update_texture_cube
Update Cube texture. @attention It’s valid to update only mutable texture. See bgfx::createTextureCube for more info.
bgfx_vertex_convert
Converts vertex stream data from one vertex stream format to another.
bgfx_vertex_layout_add
Add attribute to VertexLayout. @remarks Must be called between begin/end.
bgfx_vertex_layout_begin
Start VertexLayout.
bgfx_vertex_layout_decode
Decode attribute.
bgfx_vertex_layout_end
End VertexLayout.
bgfx_vertex_layout_has
Returns true if VertexLayout contains attribute.
bgfx_vertex_layout_skip
Skip _num bytes in vertex stream.
bgfx_vertex_pack
Pack vertex attribute into vertex stream format.
bgfx_vertex_unpack
Unpack vertex attribute from vertex stream format.
bgfx_weld_vertices
Weld vertices.
bsearch
calloc
clearenv
div
drand48
drand48_r
ecvt
ecvt_r
erand48
erand48_r
exit
fcvt
fcvt_r
free
gcvt
getenv
getloadavg
getsubopt
initstate
initstate_r
jrand48
jrand48_r
l64a
labs
lcong48
lcong48_r
ldiv
llabs
lldiv
lrand48
lrand48_r
malloc
mblen
mbstowcs
mbtowc
mkdtemp
mkstemp
mkstemps
mktemp
mrand48
mrand48_r
nrand48
nrand48_r
on_exit
posix_memalign
pselect
putenv
qsort
quick_exit
rand
rand_r
random
random_r
realloc
reallocarray
realpath
rpmatch
seed48
seed48_r
select
setenv
setstate
setstate_r
srand
srand48
srand48_r
srandom
srandom_r
strtod
strtof
strtol
strtoll
strtoq
strtoul
strtoull
strtouq
system
unsetenv
valloc
wcstombs
wctomb

Type Aliases§

PFN_BGFX_GET_INTERFACE
_Float32
_Float64
_Float32x
_Float64x
__blkcnt64_t
__blkcnt_t
__blksize_t
__builtin_va_list
__caddr_t
__clock_t
__clockid_t
__compar_fn_t
__daddr_t
__dev_t
__fd_mask
__fsblkcnt64_t
__fsblkcnt_t
__fsfilcnt64_t
__fsfilcnt_t
__fsword_t
__gid_t
__gnuc_va_list
__id_t
__ino64_t
__ino_t
__int8_t
__int16_t
__int32_t
__int64_t
__int_least8_t
__int_least16_t
__int_least32_t
__int_least64_t
__intmax_t
__intptr_t
__key_t
__loff_t
__mode_t
__nlink_t
__off64_t
__off_t
__pid_t
__pthread_list_t
__pthread_slist_t
__quad_t
__rlim64_t
__rlim_t
__sig_atomic_t
__socklen_t
__ssize_t
__suseconds64_t
__suseconds_t
__syscall_slong_t
__syscall_ulong_t
__thrd_t
__time_t
__timer_t
__tss_t
__u_char
__u_int
__u_long
__u_quad_t
__u_short
__uid_t
__uint8_t
__uint16_t
__uint32_t
__uint64_t
__uint_least8_t
__uint_least16_t
__uint_least32_t
__uint_least64_t
__uintmax_t
__useconds_t
bgfx_access
Access mode enum.
bgfx_allocator_interface_t
bgfx_allocator_vtbl_t
bgfx_attachment_t
Frame buffer texture attachment info.
bgfx_attrib
Vertex attribute enum.
bgfx_attrib_type
Vertex attribute type enum.
bgfx_backbuffer_ratio
Backbuffer ratio enum.
bgfx_callback_interface_t
bgfx_callback_vtbl_t
bgfx_caps_gpu_t
GPU info.
bgfx_caps_limits_t
Renderer runtime limits.
bgfx_caps_t
Renderer capabilities.
bgfx_dynamic_index_buffer_handle_t
bgfx_dynamic_vertex_buffer_handle_t
bgfx_encoder_stats_t
Encoder stats.
bgfx_encoder_t
bgfx_fatal
Fatal error enum.
bgfx_frame_buffer_handle_t
bgfx_function_id
bgfx_index_buffer_handle_t
bgfx_indirect_buffer_handle_t
bgfx_init_limits_t
Configurable runtime limits parameters.
bgfx_init_t
Initialization parameters used by bgfx::init.
bgfx_instance_data_buffer_t
Instance data buffer info.
bgfx_interface_vtbl_t
bgfx_internal_data_t
Internal data.
bgfx_memory_t
Memory must be obtained by calling bgfx::alloc, bgfx::copy, or bgfx::makeRef. @attention It is illegal to create this structure on stack and pass it to any bgfx API.
bgfx_native_window_handle_type
Native window handle type..
bgfx_occlusion_query_handle_t
bgfx_occlusion_query_result
Occlusion query result.
bgfx_platform_data_t
Platform data.
bgfx_program_handle_t
bgfx_release_fn_t
Memory release callback.
bgfx_render_frame
Render frame enum.
bgfx_renderer_type
Renderer backend type enum.
bgfx_resolution_t
Backbuffer resolution and reset parameters.
bgfx_shader_handle_t
bgfx_stats_t
Renderer statistics data. @remarks All time values are high-resolution timestamps, while time frequencies define timestamps-per-second for that hardware.
bgfx_texture_format
Texture format enum. Notation: RGBA16S ^ ^ ^ | | +– [ ]Unorm | | [F]loat | | [S]norm | | [I]nt | | [U]int | +–– Number of bits per component +–––– Components @attention Availability depends on Caps (see: formats).
bgfx_texture_handle_t
bgfx_texture_info_t
Texture info.
bgfx_topology
Primitive topology.
bgfx_topology_convert
Topology conversion function.
bgfx_topology_sort
Topology sort order.
bgfx_transform_t
Transform data.
bgfx_transient_index_buffer_t
Transient index buffer.
bgfx_transient_vertex_buffer_t
Transient vertex buffer.
bgfx_uniform_handle_t
bgfx_uniform_info_t
Uniform info.
bgfx_uniform_type
Uniform type enum.
bgfx_vertex_buffer_handle_t
bgfx_vertex_layout_handle_t
bgfx_vertex_layout_t
Vertex layout.
bgfx_view_id_t
bgfx_view_mode
View mode sets draw call sort order.
bgfx_view_stats_t
View stats.
blkcnt_t
blksize_t
caddr_t
clock_t
clockid_t
daddr_t
dev_t
fd_mask
fsblkcnt_t
fsfilcnt_t
fsid_t
gid_t
id_t
ino_t
int_fast8_t
int_fast16_t
int_fast32_t
int_fast64_t
int_least8_t
int_least16_t
int_least32_t
int_least64_t
intmax_t
key_t
loff_t
mode_t
nlink_t
off_t
pid_t
pthread_key_t
pthread_once_t
pthread_spinlock_t
pthread_t
quad_t
register_t
sigset_t
suseconds_t
time_t
timer_t
u_char
u_int
u_int8_t
u_int16_t
u_int32_t
u_int64_t
u_long
u_quad_t
u_short
uid_t
uint
uint_fast8_t
uint_fast16_t
uint_fast32_t
uint_fast64_t
uint_least8_t
uint_least16_t
uint_least32_t
uint_least64_t
uintmax_t
ulong
ushort
va_list
wchar_t

Unions§

__atomic_wide_counter
pthread_attr_t
pthread_barrier_t
pthread_barrierattr_t
pthread_cond_t
pthread_condattr_t
pthread_mutex_t
pthread_mutexattr_t
pthread_rwlock_t
pthread_rwlockattr_t