bindbc.bgfx.funcs

Undocumented in source.

Members

Aliases

da_bgfx_alloc
alias da_bgfx_alloc = const(bgfx_memory_t)* function(uint _size)

Allocate buffer to pass to bgfx calls. Data will be freed inside bgfx.

da_bgfx_alloc_instance_data_buffer
alias da_bgfx_alloc_instance_data_buffer = void function(bgfx_instance_data_buffer_t* _idb, uint _num, ushort _stride)

Allocate instance data buffer.

da_bgfx_alloc_transform
alias da_bgfx_alloc_transform = uint function(bgfx_transform_t* _transform, ushort _num)

Reserve matrices in internal matrix cache. Attention: Pointer returned can be modifed until bgfx::frame is called.

da_bgfx_alloc_transient_buffers
alias da_bgfx_alloc_transient_buffers = bool function(bgfx_transient_vertex_buffer_t* _tvb, const(bgfx_vertex_layout_t)* _layout, uint _numVertices, bgfx_transient_index_buffer_t* _tib, uint _numIndices, bool _index32)

Check for required space and allocate transient vertex and index buffers. If both space requirements are satisfied function returns true.

da_bgfx_alloc_transient_index_buffer
alias da_bgfx_alloc_transient_index_buffer = void function(bgfx_transient_index_buffer_t* _tib, uint _num, bool _index32)

Allocate transient index buffer.

da_bgfx_alloc_transient_vertex_buffer
alias da_bgfx_alloc_transient_vertex_buffer = void function(bgfx_transient_vertex_buffer_t* _tvb, uint _num, const(bgfx_vertex_layout_t)* _layout)

Allocate transient vertex buffer.

da_bgfx_attachment_init
alias da_bgfx_attachment_init = void function(bgfx_attachment_t* _this, bgfx_texture_handle_t _handle, bgfx_access_t _access, ushort _layer, ushort _numLayers, ushort _mip, byte _resolve)

Init attachment.

da_bgfx_blit
alias da_bgfx_blit = void function(bgfx_view_id_t _id, bgfx_texture_handle_t _dst, byte _dstMip, ushort _dstX, ushort _dstY, ushort _dstZ, bgfx_texture_handle_t _src, byte _srcMip, ushort _srcX, ushort _srcY, ushort _srcZ, ushort _width, ushort _height, ushort _depth)

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.

da_bgfx_calc_texture_size
alias da_bgfx_calc_texture_size = void function(bgfx_texture_info_t* _info, ushort _width, ushort _height, ushort _depth, bool _cubeMap, bool _hasMips, ushort _numLayers, bgfx_texture_format_t _format)

Calculate amount of memory required for texture.

da_bgfx_copy
alias da_bgfx_copy = const(bgfx_memory_t)* function(const(void)* _data, uint _size)

Allocate buffer and copy data into it. Data will be freed inside bgfx.

da_bgfx_create_compute_program
alias da_bgfx_create_compute_program = bgfx_program_handle_t function(bgfx_shader_handle_t _csh, bool _destroyShaders)

Create program with compute shader.

da_bgfx_create_dynamic_index_buffer
alias da_bgfx_create_dynamic_index_buffer = bgfx_dynamic_index_buffer_handle_t function(uint _num, ushort _flags)

Create empty dynamic index buffer.

da_bgfx_create_dynamic_index_buffer_mem
alias da_bgfx_create_dynamic_index_buffer_mem = bgfx_dynamic_index_buffer_handle_t function(const(bgfx_memory_t)* _mem, ushort _flags)

Create dynamic index buffer and initialized it.

da_bgfx_create_dynamic_vertex_buffer
alias da_bgfx_create_dynamic_vertex_buffer = bgfx_dynamic_vertex_buffer_handle_t function(uint _num, const(bgfx_vertex_layout_t)* _layout, ushort _flags)

Create empty dynamic vertex buffer.

da_bgfx_create_dynamic_vertex_buffer_mem
alias da_bgfx_create_dynamic_vertex_buffer_mem = bgfx_dynamic_vertex_buffer_handle_t function(const(bgfx_memory_t)* _mem, const(bgfx_vertex_layout_t)* _layout, ushort _flags)

Create dynamic vertex buffer and initialize it.

da_bgfx_create_frame_buffer
alias da_bgfx_create_frame_buffer = bgfx_frame_buffer_handle_t function(ushort _width, ushort _height, bgfx_texture_format_t _format, ulong _textureFlags)

Create frame buffer (simple).

da_bgfx_create_frame_buffer_from_attachment
alias da_bgfx_create_frame_buffer_from_attachment = bgfx_frame_buffer_handle_t function(byte _num, const(bgfx_attachment_t)* _attachment, bool _destroyTexture)

Create MRT frame buffer from texture handles with specific layer and mip level.

da_bgfx_create_frame_buffer_from_handles
alias da_bgfx_create_frame_buffer_from_handles = bgfx_frame_buffer_handle_t function(byte _num, const(bgfx_texture_handle_t)* _handles, bool _destroyTexture)

Create MRT frame buffer from texture handles (simple).

da_bgfx_create_frame_buffer_from_nwh
alias da_bgfx_create_frame_buffer_from_nwh = bgfx_frame_buffer_handle_t function(void* _nwh, ushort _width, ushort _height, bgfx_texture_format_t _format, bgfx_texture_format_t _depthFormat)

Create frame buffer for multiple window rendering. Remarks: Frame buffer cannot be used for sampling. Attention: Availability depends on: BGFX_CAPS_SWAP_CHAIN.

da_bgfx_create_frame_buffer_scaled
alias da_bgfx_create_frame_buffer_scaled = bgfx_frame_buffer_handle_t function(bgfx_backbuffer_ratio_t _ratio, bgfx_texture_format_t _format, ulong _textureFlags)

Create frame buffer with size based on backbuffer ratio. Frame buffer will maintain ratio if back buffer resolution changes.

da_bgfx_create_index_buffer
alias da_bgfx_create_index_buffer = bgfx_index_buffer_handle_t function(const(bgfx_memory_t)* _mem, ushort _flags)

Create static index buffer.

da_bgfx_create_indirect_buffer
alias da_bgfx_create_indirect_buffer = bgfx_indirect_buffer_handle_t function(uint _num)

Create draw indirect buffer.

da_bgfx_create_occlusion_query
alias da_bgfx_create_occlusion_query = bgfx_occlusion_query_handle_t function()

Create occlusion query.

da_bgfx_create_program
alias da_bgfx_create_program = bgfx_program_handle_t function(bgfx_shader_handle_t _vsh, bgfx_shader_handle_t _fsh, bool _destroyShaders)

Create program with vertex and fragment shaders.

da_bgfx_create_shader
alias da_bgfx_create_shader = bgfx_shader_handle_t function(const(bgfx_memory_t)* _mem)

Create shader from memory buffer.

da_bgfx_create_texture
alias da_bgfx_create_texture = bgfx_texture_handle_t function(const(bgfx_memory_t)* _mem, ulong _flags, byte _skip, bgfx_texture_info_t* _info)

Create texture from memory buffer.

da_bgfx_create_texture_2d
alias da_bgfx_create_texture_2d = bgfx_texture_handle_t function(ushort _width, ushort _height, bool _hasMips, ushort _numLayers, bgfx_texture_format_t _format, ulong _flags, const(bgfx_memory_t)* _mem)

Create 2D texture.

da_bgfx_create_texture_2d_scaled
alias da_bgfx_create_texture_2d_scaled = bgfx_texture_handle_t function(bgfx_backbuffer_ratio_t _ratio, bool _hasMips, ushort _numLayers, bgfx_texture_format_t _format, ulong _flags)

Create texture with size based on backbuffer ratio. Texture will maintain ratio if back buffer resolution changes.

da_bgfx_create_texture_3d
alias da_bgfx_create_texture_3d = bgfx_texture_handle_t function(ushort _width, ushort _height, ushort _depth, bool _hasMips, bgfx_texture_format_t _format, ulong _flags, const(bgfx_memory_t)* _mem)

Create 3D texture.

da_bgfx_create_texture_cube
alias da_bgfx_create_texture_cube = bgfx_texture_handle_t function(ushort _size, bool _hasMips, ushort _numLayers, bgfx_texture_format_t _format, ulong _flags, const(bgfx_memory_t)* _mem)

Create Cube texture.

da_bgfx_create_uniform
alias da_bgfx_create_uniform = bgfx_uniform_handle_t function(const(char)* _name, bgfx_uniform_type_t _type, ushort _num)

Create shader uniform parameter. Remarks: 1. Uniform names are unique. It's valid to call bgfx::createUniform multiple times with the same uniform name. The library will always return the same handle, but the handle reference count will be incremented. This means that the same number of bgfx::destroyUniform must be called to properly destroy the uniform. 2. Predefined uniforms (declared in bgfx_shader.sh): - u_viewRect vec4(x, y, width, height) - view rectangle for current view, in pixels. - u_viewTexel vec4(1.0/width, 1.0/height, undef, undef) - inverse width and height - u_view mat4 - view matrix - u_invView mat4 - inverted view matrix - u_proj mat4 - projection matrix - u_invProj mat4 - inverted projection matrix - u_viewProj mat4 - concatenated view projection matrix - u_invViewProj mat4 - concatenated inverted view projection matrix - u_model mat4[BGFX_CONFIG_MAX_BONES] - array of model matrices. - u_modelView mat4 - concatenated model view matrix, only first model matrix from array is used. - u_modelViewProj mat4 - concatenated model view projection matrix. - u_alphaRef float - alpha reference value for alpha test.

da_bgfx_create_vertex_buffer
alias da_bgfx_create_vertex_buffer = bgfx_vertex_buffer_handle_t function(const(bgfx_memory_t)* _mem, const(bgfx_vertex_layout_t)* _layout, ushort _flags)

Create static vertex buffer.

da_bgfx_create_vertex_layout
alias da_bgfx_create_vertex_layout = bgfx_vertex_layout_handle_t function(const(bgfx_vertex_layout_t)* _layout)

Create vertex layout.

da_bgfx_dbg_text_clear
alias da_bgfx_dbg_text_clear = void function(byte _attr, bool _small)

Clear internal debug text buffer.

da_bgfx_dbg_text_image
alias da_bgfx_dbg_text_image = void function(ushort _x, ushort _y, ushort _width, ushort _height, const(void)* _data, ushort _pitch)

Draw image into internal debug text buffer.

da_bgfx_dbg_text_printf
alias da_bgfx_dbg_text_printf = void function(ushort _x, ushort _y, byte _attr, const(char)* _format, ...)

Print formatted data to internal debug text character-buffer (VGA-compatible text mode).

da_bgfx_dbg_text_vprintf
alias da_bgfx_dbg_text_vprintf = void function(ushort _x, ushort _y, byte _attr, const(char)* _format, va_list _argList)

Print formatted data from variable argument list to internal debug text character-buffer (VGA-compatible text mode).

da_bgfx_destroy_dynamic_index_buffer
alias da_bgfx_destroy_dynamic_index_buffer = void function(bgfx_dynamic_index_buffer_handle_t _handle)

Destroy dynamic index buffer.

da_bgfx_destroy_dynamic_vertex_buffer
alias da_bgfx_destroy_dynamic_vertex_buffer = void function(bgfx_dynamic_vertex_buffer_handle_t _handle)

Destroy dynamic vertex buffer.

da_bgfx_destroy_frame_buffer
alias da_bgfx_destroy_frame_buffer = void function(bgfx_frame_buffer_handle_t _handle)

Destroy frame buffer.

da_bgfx_destroy_index_buffer
alias da_bgfx_destroy_index_buffer = void function(bgfx_index_buffer_handle_t _handle)

Destroy static index buffer.

da_bgfx_destroy_indirect_buffer
alias da_bgfx_destroy_indirect_buffer = void function(bgfx_indirect_buffer_handle_t _handle)

Destroy draw indirect buffer.

da_bgfx_destroy_occlusion_query
alias da_bgfx_destroy_occlusion_query = void function(bgfx_occlusion_query_handle_t _handle)

Destroy occlusion query.

da_bgfx_destroy_program
alias da_bgfx_destroy_program = void function(bgfx_program_handle_t _handle)

Destroy program.

da_bgfx_destroy_shader
alias da_bgfx_destroy_shader = void function(bgfx_shader_handle_t _handle)

Destroy shader. Remarks: Once a shader program is created with _handle, it is safe to destroy that shader.

da_bgfx_destroy_texture
alias da_bgfx_destroy_texture = void function(bgfx_texture_handle_t _handle)

Destroy texture.

da_bgfx_destroy_uniform
alias da_bgfx_destroy_uniform = void function(bgfx_uniform_handle_t _handle)

Destroy shader uniform parameter.

da_bgfx_destroy_vertex_buffer
alias da_bgfx_destroy_vertex_buffer = void function(bgfx_vertex_buffer_handle_t _handle)

Destroy static vertex buffer.

da_bgfx_destroy_vertex_layout
alias da_bgfx_destroy_vertex_layout = void function(bgfx_vertex_layout_handle_t _layoutHandle)

Destroy vertex layout.

da_bgfx_discard
alias da_bgfx_discard = void function(byte _flags)

Discard previously set state for draw or compute call.

da_bgfx_dispatch
alias da_bgfx_dispatch = void function(bgfx_view_id_t _id, bgfx_program_handle_t _program, uint _numX, uint _numY, uint _numZ, byte _flags)

Dispatch compute.

da_bgfx_dispatch_indirect
alias da_bgfx_dispatch_indirect = void function(bgfx_view_id_t _id, bgfx_program_handle_t _program, bgfx_indirect_buffer_handle_t _indirectHandle, ushort _start, ushort _num, byte _flags)

Dispatch compute indirect.

da_bgfx_encoder_alloc_transform
alias da_bgfx_encoder_alloc_transform = uint function(bgfx_encoder_t* _this, bgfx_transform_t* _transform, ushort _num)

Reserve matrices in internal matrix cache. Attention: Pointer returned can be modifed until bgfx::frame is called.

da_bgfx_encoder_begin
alias da_bgfx_encoder_begin = bgfx_encoder_t* function(bool _forThread)

Begin submitting draw calls from thread.

da_bgfx_encoder_blit
alias da_bgfx_encoder_blit = void function(bgfx_encoder_t* _this, bgfx_view_id_t _id, bgfx_texture_handle_t _dst, byte _dstMip, ushort _dstX, ushort _dstY, ushort _dstZ, bgfx_texture_handle_t _src, byte _srcMip, ushort _srcX, ushort _srcY, ushort _srcZ, ushort _width, ushort _height, ushort _depth)

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.

da_bgfx_encoder_discard
alias da_bgfx_encoder_discard = void function(bgfx_encoder_t* _this, byte _flags)

Discard previously set state for draw or compute call.

da_bgfx_encoder_dispatch
alias da_bgfx_encoder_dispatch = void function(bgfx_encoder_t* _this, bgfx_view_id_t _id, bgfx_program_handle_t _program, uint _numX, uint _numY, uint _numZ, byte _flags)

Dispatch compute.

da_bgfx_encoder_dispatch_indirect
alias da_bgfx_encoder_dispatch_indirect = void function(bgfx_encoder_t* _this, bgfx_view_id_t _id, bgfx_program_handle_t _program, bgfx_indirect_buffer_handle_t _indirectHandle, ushort _start, ushort _num, byte _flags)

Dispatch compute indirect.

da_bgfx_encoder_end
alias da_bgfx_encoder_end = void function(bgfx_encoder_t* _encoder)

End submitting draw calls from thread.

da_bgfx_encoder_set_compute_dynamic_index_buffer
alias da_bgfx_encoder_set_compute_dynamic_index_buffer = void function(bgfx_encoder_t* _this, byte _stage, bgfx_dynamic_index_buffer_handle_t _handle, bgfx_access_t _access)

Set compute dynamic index buffer.

da_bgfx_encoder_set_compute_dynamic_vertex_buffer
alias da_bgfx_encoder_set_compute_dynamic_vertex_buffer = void function(bgfx_encoder_t* _this, byte _stage, bgfx_dynamic_vertex_buffer_handle_t _handle, bgfx_access_t _access)

Set compute dynamic vertex buffer.

da_bgfx_encoder_set_compute_index_buffer
alias da_bgfx_encoder_set_compute_index_buffer = void function(bgfx_encoder_t* _this, byte _stage, bgfx_index_buffer_handle_t _handle, bgfx_access_t _access)

Set compute index buffer.

da_bgfx_encoder_set_compute_indirect_buffer
alias da_bgfx_encoder_set_compute_indirect_buffer = void function(bgfx_encoder_t* _this, byte _stage, bgfx_indirect_buffer_handle_t _handle, bgfx_access_t _access)

Set compute indirect buffer.

da_bgfx_encoder_set_compute_vertex_buffer
alias da_bgfx_encoder_set_compute_vertex_buffer = void function(bgfx_encoder_t* _this, byte _stage, bgfx_vertex_buffer_handle_t _handle, bgfx_access_t _access)

Set compute vertex buffer.

da_bgfx_encoder_set_condition
alias da_bgfx_encoder_set_condition = void function(bgfx_encoder_t* _this, bgfx_occlusion_query_handle_t _handle, bool _visible)

Set condition for rendering.

da_bgfx_encoder_set_dynamic_index_buffer
alias da_bgfx_encoder_set_dynamic_index_buffer = void function(bgfx_encoder_t* _this, bgfx_dynamic_index_buffer_handle_t _handle, uint _firstIndex, uint _numIndices)

Set index buffer for draw primitive.

da_bgfx_encoder_set_dynamic_vertex_buffer
alias da_bgfx_encoder_set_dynamic_vertex_buffer = void function(bgfx_encoder_t* _this, byte _stream, bgfx_dynamic_vertex_buffer_handle_t _handle, uint _startVertex, uint _numVertices)

Set vertex buffer for draw primitive.

da_bgfx_encoder_set_dynamic_vertex_buffer_with_layout
alias da_bgfx_encoder_set_dynamic_vertex_buffer_with_layout = void function(bgfx_encoder_t* _this, byte _stream, bgfx_dynamic_vertex_buffer_handle_t _handle, uint _startVertex, uint _numVertices, bgfx_vertex_layout_handle_t _layoutHandle)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
da_bgfx_encoder_set_image
alias da_bgfx_encoder_set_image = void function(bgfx_encoder_t* _this, byte _stage, bgfx_texture_handle_t _handle, byte _mip, bgfx_access_t _access, bgfx_texture_format_t _format)

Set compute image from texture.

da_bgfx_encoder_set_index_buffer
alias da_bgfx_encoder_set_index_buffer = void function(bgfx_encoder_t* _this, bgfx_index_buffer_handle_t _handle, uint _firstIndex, uint _numIndices)

Set index buffer for draw primitive.

da_bgfx_encoder_set_instance_count
alias da_bgfx_encoder_set_instance_count = void function(bgfx_encoder_t* _this, uint _numInstances)

Set number of instances for auto generated instances use in conjuction with gl_InstanceID. Attention: Availability depends on: BGFX_CAPS_VERTEX_ID.

da_bgfx_encoder_set_instance_data_buffer
alias da_bgfx_encoder_set_instance_data_buffer = void function(bgfx_encoder_t* _this, const(bgfx_instance_data_buffer_t)* _idb, uint _start, uint _num)

Set instance data buffer for draw primitive.

da_bgfx_encoder_set_instance_data_from_dynamic_vertex_buffer
alias da_bgfx_encoder_set_instance_data_from_dynamic_vertex_buffer = void function(bgfx_encoder_t* _this, bgfx_dynamic_vertex_buffer_handle_t _handle, uint _startVertex, uint _num)

Set instance data buffer for draw primitive.

da_bgfx_encoder_set_instance_data_from_vertex_buffer
alias da_bgfx_encoder_set_instance_data_from_vertex_buffer = void function(bgfx_encoder_t* _this, bgfx_vertex_buffer_handle_t _handle, uint _startVertex, uint _num)

Set instance data buffer for draw primitive.

da_bgfx_encoder_set_marker
alias da_bgfx_encoder_set_marker = void function(bgfx_encoder_t* _this, const(char)* _marker)

Sets a debug marker. This allows you to group graphics calls together for easy browsing in graphics debugging tools.

da_bgfx_encoder_set_scissor
alias da_bgfx_encoder_set_scissor = ushort function(bgfx_encoder_t* _this, ushort _x, ushort _y, ushort _width, ushort _height)

Set scissor for draw primitive. Remarks: To scissor for all primitives in view see bgfx::setViewScissor.

da_bgfx_encoder_set_scissor_cached
alias da_bgfx_encoder_set_scissor_cached = void function(bgfx_encoder_t* _this, ushort _cache)

Set scissor from cache for draw primitive. Remarks: To scissor for all primitives in view see bgfx::setViewScissor.

da_bgfx_encoder_set_state
alias da_bgfx_encoder_set_state = void function(bgfx_encoder_t* _this, ulong _state, uint _rgba)

Set render states for draw primitive. Remarks: 1. To setup more complex states use: BGFX_STATE_ALPHA_REF(_ref), BGFX_STATE_POINT_SIZE(_size), BGFX_STATE_BLEND_FUNC(_src, _dst), BGFX_STATE_BLEND_FUNC_SEPARATE(_srcRGB, _dstRGB, _srcA, _dstA), BGFX_STATE_BLEND_EQUATION(_equation), BGFX_STATE_BLEND_EQUATION_SEPARATE(_equationRGB, _equationA) 2. BGFX_STATE_BLEND_EQUATION_ADD is set when no other blend equation is specified.

da_bgfx_encoder_set_stencil
alias da_bgfx_encoder_set_stencil = void function(bgfx_encoder_t* _this, uint _fstencil, uint _bstencil)

Set stencil test state.

da_bgfx_encoder_set_texture
alias da_bgfx_encoder_set_texture = void function(bgfx_encoder_t* _this, byte _stage, bgfx_uniform_handle_t _sampler, bgfx_texture_handle_t _handle, uint _flags)

Set texture stage for draw primitive.

da_bgfx_encoder_set_transform
alias da_bgfx_encoder_set_transform = uint function(bgfx_encoder_t* _this, const(void)* _mtx, ushort _num)

Set model matrix for draw primitive. If it is not called, the model will be rendered with an identity model matrix.

da_bgfx_encoder_set_transform_cached
alias da_bgfx_encoder_set_transform_cached = void function(bgfx_encoder_t* _this, uint _cache, ushort _num)

Set model matrix from matrix cache for draw primitive.

da_bgfx_encoder_set_transient_index_buffer
alias da_bgfx_encoder_set_transient_index_buffer = void function(bgfx_encoder_t* _this, const(bgfx_transient_index_buffer_t)* _tib, uint _firstIndex, uint _numIndices)

Set index buffer for draw primitive.

da_bgfx_encoder_set_transient_vertex_buffer
alias da_bgfx_encoder_set_transient_vertex_buffer = void function(bgfx_encoder_t* _this, byte _stream, const(bgfx_transient_vertex_buffer_t)* _tvb, uint _startVertex, uint _numVertices)

Set vertex buffer for draw primitive.

da_bgfx_encoder_set_transient_vertex_buffer_with_layout
alias da_bgfx_encoder_set_transient_vertex_buffer_with_layout = void function(bgfx_encoder_t* _this, byte _stream, const(bgfx_transient_vertex_buffer_t)* _tvb, uint _startVertex, uint _numVertices, bgfx_vertex_layout_handle_t _layoutHandle)

Set vertex buffer for draw primitive.

da_bgfx_encoder_set_uniform
alias da_bgfx_encoder_set_uniform = void function(bgfx_encoder_t* _this, bgfx_uniform_handle_t _handle, const(void)* _value, ushort _num)

Set shader uniform parameter for draw primitive.

da_bgfx_encoder_set_vertex_buffer
alias da_bgfx_encoder_set_vertex_buffer = void function(bgfx_encoder_t* _this, byte _stream, bgfx_vertex_buffer_handle_t _handle, uint _startVertex, uint _numVertices)

Set vertex buffer for draw primitive.

da_bgfx_encoder_set_vertex_buffer_with_layout
alias da_bgfx_encoder_set_vertex_buffer_with_layout = void function(bgfx_encoder_t* _this, byte _stream, bgfx_vertex_buffer_handle_t _handle, uint _startVertex, uint _numVertices, bgfx_vertex_layout_handle_t _layoutHandle)

Set vertex buffer for draw primitive.

da_bgfx_encoder_set_vertex_count
alias da_bgfx_encoder_set_vertex_count = void function(bgfx_encoder_t* _this, uint _numVertices)

Set number of vertices for auto generated vertices use in conjuction with gl_VertexID. Attention: Availability depends on: BGFX_CAPS_VERTEX_ID.

da_bgfx_encoder_submit
alias da_bgfx_encoder_submit = void function(bgfx_encoder_t* _this, bgfx_view_id_t _id, bgfx_program_handle_t _program, uint _depth, byte _flags)

Submit primitive for rendering.

da_bgfx_encoder_submit_indirect
alias da_bgfx_encoder_submit_indirect = void function(bgfx_encoder_t* _this, bgfx_view_id_t _id, bgfx_program_handle_t _program, bgfx_indirect_buffer_handle_t _indirectHandle, ushort _start, ushort _num, uint _depth, byte _flags)

Submit primitive for rendering with index and instance data info from indirect buffer.

da_bgfx_encoder_submit_occlusion_query
alias da_bgfx_encoder_submit_occlusion_query = void function(bgfx_encoder_t* _this, bgfx_view_id_t _id, bgfx_program_handle_t _program, bgfx_occlusion_query_handle_t _occlusionQuery, uint _depth, byte _flags)

Submit primitive with occlusion query for rendering.

da_bgfx_encoder_touch
alias da_bgfx_encoder_touch = void function(bgfx_encoder_t* _this, bgfx_view_id_t _id)

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. Remarks: These empty draw calls will sort before ordinary draw calls.

da_bgfx_frame
alias da_bgfx_frame = uint function(bool _capture)

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.

da_bgfx_get_avail_instance_data_buffer
alias da_bgfx_get_avail_instance_data_buffer = uint function(uint _num, ushort _stride)

Returns number of requested or maximum available instance buffer slots.

da_bgfx_get_avail_transient_index_buffer
alias da_bgfx_get_avail_transient_index_buffer = uint function(uint _num, bool _index32)

Returns number of requested or maximum available indices.

da_bgfx_get_avail_transient_vertex_buffer
alias da_bgfx_get_avail_transient_vertex_buffer = uint function(uint _num, const(bgfx_vertex_layout_t)* _layout)

Returns number of requested or maximum available vertices.

da_bgfx_get_caps
alias da_bgfx_get_caps = const(bgfx_caps_t)* function()

Returns renderer capabilities. Remarks: Library must be initialized.

da_bgfx_get_direct_access_ptr
alias da_bgfx_get_direct_access_ptr = void* function(bgfx_texture_handle_t _handle)

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.

da_bgfx_get_internal_data
alias da_bgfx_get_internal_data = const(bgfx_internal_data_t)* function()

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.

da_bgfx_get_renderer_name
alias da_bgfx_get_renderer_name = const(char)* function(bgfx_renderer_type_t _type)

Returns name of renderer.

da_bgfx_get_renderer_type
alias da_bgfx_get_renderer_type = bgfx_renderer_type_t function()

Returns current renderer backend API type. Remarks: Library must be initialized.

da_bgfx_get_result
alias da_bgfx_get_result = bgfx_occlusion_query_result_t function(bgfx_occlusion_query_handle_t _handle, int* _result)

Retrieve occlusion query result from previous frame.

da_bgfx_get_shader_uniforms
alias da_bgfx_get_shader_uniforms = ushort function(bgfx_shader_handle_t _handle, bgfx_uniform_handle_t* _uniforms, ushort _max)

Returns the number of uniforms and uniform handles used inside a shader. Remarks: Only non-predefined uniforms are returned.

da_bgfx_get_stats
alias da_bgfx_get_stats = const(bgfx_stats_t)* function()

Returns performance counters. Attention: Pointer returned is valid until bgfx::frame is called.

da_bgfx_get_supported_renderers
alias da_bgfx_get_supported_renderers = byte function(byte _max, bgfx_renderer_type_t* _enum)

Returns supported backend API renderers.

da_bgfx_get_texture
alias da_bgfx_get_texture = bgfx_texture_handle_t function(bgfx_frame_buffer_handle_t _handle, byte _attachment)

Obtain texture handle of frame buffer attachment.

da_bgfx_get_uniform_info
alias da_bgfx_get_uniform_info = void function(bgfx_uniform_handle_t _handle, bgfx_uniform_info_t* _info)

Retrieve uniform info.

da_bgfx_init
alias da_bgfx_init = bool function(const(bgfx_init_t)* _init)

Initialize bgfx library.

da_bgfx_init_ctor
alias da_bgfx_init_ctor = void function(bgfx_init_t* _init)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
da_bgfx_is_frame_buffer_valid
alias da_bgfx_is_frame_buffer_valid = bool function(byte _num, const(bgfx_attachment_t)* _attachment)

Validate frame buffer parameters.

da_bgfx_is_texture_valid
alias da_bgfx_is_texture_valid = bool function(ushort _depth, bool _cubeMap, ushort _numLayers, bgfx_texture_format_t _format, ulong _flags)

Validate texture parameters.

da_bgfx_make_ref
alias da_bgfx_make_ref = const(bgfx_memory_t)* function(const(void)* _data, uint _size)

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.

da_bgfx_make_ref_release
alias da_bgfx_make_ref_release = const(bgfx_memory_t)* function(const(void)* _data, uint _size, void* _releaseFn, void* _userData)

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.

da_bgfx_override_internal_texture
alias da_bgfx_override_internal_texture = ulong function(bgfx_texture_handle_t _handle, ushort _width, ushort _height, byte _numMips, bgfx_texture_format_t _format, ulong _flags)

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.

da_bgfx_override_internal_texture_ptr
alias da_bgfx_override_internal_texture_ptr = ulong function(bgfx_texture_handle_t _handle, ulong _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.

da_bgfx_read_texture
alias da_bgfx_read_texture = uint function(bgfx_texture_handle_t _handle, void* _data, byte _mip)

Read back texture content. Attention: Texture must be created with BGFX_TEXTURE_READ_BACK flag. Attention: Availability depends on: BGFX_CAPS_TEXTURE_READ_BACK.

da_bgfx_render_frame
alias da_bgfx_render_frame = bgfx_render_frame_t function(int _msecs)

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.

da_bgfx_request_screen_shot
alias da_bgfx_request_screen_shot = void function(bgfx_frame_buffer_handle_t _handle, const(char)* _filePath)

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.

da_bgfx_reset
alias da_bgfx_reset = void function(uint _width, uint _height, uint _flags, bgfx_texture_format_t _format)

Reset graphic settings and back-buffer size. Attention: This call doesn't actually change window size, it just resizes back-buffer. Windowing code has to change window size.

da_bgfx_reset_view
alias da_bgfx_reset_view = void function(bgfx_view_id_t _id)

Reset all view settings to default.

da_bgfx_set_compute_dynamic_index_buffer
alias da_bgfx_set_compute_dynamic_index_buffer = void function(byte _stage, bgfx_dynamic_index_buffer_handle_t _handle, bgfx_access_t _access)

Set compute dynamic index buffer.

da_bgfx_set_compute_dynamic_vertex_buffer
alias da_bgfx_set_compute_dynamic_vertex_buffer = void function(byte _stage, bgfx_dynamic_vertex_buffer_handle_t _handle, bgfx_access_t _access)

Set compute dynamic vertex buffer.

da_bgfx_set_compute_index_buffer
alias da_bgfx_set_compute_index_buffer = void function(byte _stage, bgfx_index_buffer_handle_t _handle, bgfx_access_t _access)

Set compute index buffer.

da_bgfx_set_compute_indirect_buffer
alias da_bgfx_set_compute_indirect_buffer = void function(byte _stage, bgfx_indirect_buffer_handle_t _handle, bgfx_access_t _access)

Set compute indirect buffer.

da_bgfx_set_compute_vertex_buffer
alias da_bgfx_set_compute_vertex_buffer = void function(byte _stage, bgfx_vertex_buffer_handle_t _handle, bgfx_access_t _access)

Set compute vertex buffer.

da_bgfx_set_condition
alias da_bgfx_set_condition = void function(bgfx_occlusion_query_handle_t _handle, bool _visible)

Set condition for rendering.

da_bgfx_set_debug
alias da_bgfx_set_debug = void function(uint _debug)

Set debug flags.

da_bgfx_set_dynamic_index_buffer
alias da_bgfx_set_dynamic_index_buffer = void function(bgfx_dynamic_index_buffer_handle_t _handle, uint _firstIndex, uint _numIndices)

Set index buffer for draw primitive.

da_bgfx_set_dynamic_vertex_buffer
alias da_bgfx_set_dynamic_vertex_buffer = void function(byte _stream, bgfx_dynamic_vertex_buffer_handle_t _handle, uint _startVertex, uint _numVertices)

Set vertex buffer for draw primitive.

da_bgfx_set_dynamic_vertex_buffer_with_layout
alias da_bgfx_set_dynamic_vertex_buffer_with_layout = void function(byte _stream, bgfx_dynamic_vertex_buffer_handle_t _handle, uint _startVertex, uint _numVertices, bgfx_vertex_layout_handle_t _layoutHandle)

Set vertex buffer for draw primitive.

da_bgfx_set_frame_buffer_name
alias da_bgfx_set_frame_buffer_name = void function(bgfx_frame_buffer_handle_t _handle, const(char)* _name, int _len)

Set frame buffer debug name.

da_bgfx_set_image
alias da_bgfx_set_image = void function(byte _stage, bgfx_texture_handle_t _handle, byte _mip, bgfx_access_t _access, bgfx_texture_format_t _format)

Set compute image from texture.

da_bgfx_set_index_buffer
alias da_bgfx_set_index_buffer = void function(bgfx_index_buffer_handle_t _handle, uint _firstIndex, uint _numIndices)

Set index buffer for draw primitive.

da_bgfx_set_index_buffer_name
alias da_bgfx_set_index_buffer_name = void function(bgfx_index_buffer_handle_t _handle, const(char)* _name, int _len)

Set static index buffer debug name.

da_bgfx_set_instance_count
alias da_bgfx_set_instance_count = void function(uint _numInstances)

Set number of instances for auto generated instances use in conjuction with gl_InstanceID. Attention: Availability depends on: BGFX_CAPS_VERTEX_ID.

da_bgfx_set_instance_data_buffer
alias da_bgfx_set_instance_data_buffer = void function(const(bgfx_instance_data_buffer_t)* _idb, uint _start, uint _num)

Set instance data buffer for draw primitive.

da_bgfx_set_instance_data_from_dynamic_vertex_buffer
alias da_bgfx_set_instance_data_from_dynamic_vertex_buffer = void function(bgfx_dynamic_vertex_buffer_handle_t _handle, uint _startVertex, uint _num)

Set instance data buffer for draw primitive.

da_bgfx_set_instance_data_from_vertex_buffer
alias da_bgfx_set_instance_data_from_vertex_buffer = void function(bgfx_vertex_buffer_handle_t _handle, uint _startVertex, uint _num)

Set instance data buffer for draw primitive.

da_bgfx_set_marker
alias da_bgfx_set_marker = void function(const(char)* _marker)

Sets a debug marker. This allows you to group graphics calls together for easy browsing in graphics debugging tools.

da_bgfx_set_palette_color
alias da_bgfx_set_palette_color = void function(byte _index, const float[4] _rgba)

Set palette color value.

da_bgfx_set_palette_color_rgba8
alias da_bgfx_set_palette_color_rgba8 = void function(byte _index, uint _rgba)

Set palette color value.

da_bgfx_set_platform_data
alias da_bgfx_set_platform_data = void function(const(bgfx_platform_data_t)* _data)

Set platform data. Warning: Must be called before bgfx::init.

da_bgfx_set_scissor
alias da_bgfx_set_scissor = ushort function(ushort _x, ushort _y, ushort _width, ushort _height)

Set scissor for draw primitive. Remarks: To scissor for all primitives in view see bgfx::setViewScissor.

da_bgfx_set_scissor_cached
alias da_bgfx_set_scissor_cached = void function(ushort _cache)

Set scissor from cache for draw primitive. Remarks: To scissor for all primitives in view see bgfx::setViewScissor.

da_bgfx_set_shader_name
alias da_bgfx_set_shader_name = void function(bgfx_shader_handle_t _handle, const(char)* _name, int _len)

Set shader debug name.

da_bgfx_set_state
alias da_bgfx_set_state = void function(ulong _state, uint _rgba)

Set render states for draw primitive. Remarks: 1. To setup more complex states use: BGFX_STATE_ALPHA_REF(_ref), BGFX_STATE_POINT_SIZE(_size), BGFX_STATE_BLEND_FUNC(_src, _dst), BGFX_STATE_BLEND_FUNC_SEPARATE(_srcRGB, _dstRGB, _srcA, _dstA), BGFX_STATE_BLEND_EQUATION(_equation), BGFX_STATE_BLEND_EQUATION_SEPARATE(_equationRGB, _equationA) 2. BGFX_STATE_BLEND_EQUATION_ADD is set when no other blend equation is specified.

da_bgfx_set_stencil
alias da_bgfx_set_stencil = void function(uint _fstencil, uint _bstencil)

Set stencil test state.

da_bgfx_set_texture
alias da_bgfx_set_texture = void function(byte _stage, bgfx_uniform_handle_t _sampler, bgfx_texture_handle_t _handle, uint _flags)

Set texture stage for draw primitive.

da_bgfx_set_texture_name
alias da_bgfx_set_texture_name = void function(bgfx_texture_handle_t _handle, const(char)* _name, int _len)

Set texture debug name.

da_bgfx_set_transform
alias da_bgfx_set_transform = uint function(const(void)* _mtx, ushort _num)

Set model matrix for draw primitive. If it is not called, the model will be rendered with an identity model matrix.

da_bgfx_set_transform_cached
alias da_bgfx_set_transform_cached = void function(uint _cache, ushort _num)

Set model matrix from matrix cache for draw primitive.

da_bgfx_set_transient_index_buffer
alias da_bgfx_set_transient_index_buffer = void function(const(bgfx_transient_index_buffer_t)* _tib, uint _firstIndex, uint _numIndices)

Set index buffer for draw primitive.

da_bgfx_set_transient_vertex_buffer
alias da_bgfx_set_transient_vertex_buffer = void function(byte _stream, const(bgfx_transient_vertex_buffer_t)* _tvb, uint _startVertex, uint _numVertices)

Set vertex buffer for draw primitive.

da_bgfx_set_transient_vertex_buffer_with_layout
alias da_bgfx_set_transient_vertex_buffer_with_layout = void function(byte _stream, const(bgfx_transient_vertex_buffer_t)* _tvb, uint _startVertex, uint _numVertices, bgfx_vertex_layout_handle_t _layoutHandle)

Set vertex buffer for draw primitive.

da_bgfx_set_uniform
alias da_bgfx_set_uniform = void function(bgfx_uniform_handle_t _handle, const(void)* _value, ushort _num)

Set shader uniform parameter for draw primitive.

da_bgfx_set_vertex_buffer
alias da_bgfx_set_vertex_buffer = void function(byte _stream, bgfx_vertex_buffer_handle_t _handle, uint _startVertex, uint _numVertices)

Set vertex buffer for draw primitive.

da_bgfx_set_vertex_buffer_name
alias da_bgfx_set_vertex_buffer_name = void function(bgfx_vertex_buffer_handle_t _handle, const(char)* _name, int _len)

Set static vertex buffer debug name.

da_bgfx_set_vertex_buffer_with_layout
alias da_bgfx_set_vertex_buffer_with_layout = void function(byte _stream, bgfx_vertex_buffer_handle_t _handle, uint _startVertex, uint _numVertices, bgfx_vertex_layout_handle_t _layoutHandle)

Set vertex buffer for draw primitive.

da_bgfx_set_vertex_count
alias da_bgfx_set_vertex_count = void function(uint _numVertices)

Set number of vertices for auto generated vertices use in conjuction with gl_VertexID. Attention: Availability depends on: BGFX_CAPS_VERTEX_ID.

da_bgfx_set_view_clear
alias da_bgfx_set_view_clear = void function(bgfx_view_id_t _id, ushort _flags, uint _rgba, float _depth, byte _stencil)

Set view clear flags.

da_bgfx_set_view_clear_mrt
alias da_bgfx_set_view_clear_mrt = void function(bgfx_view_id_t _id, ushort _flags, float _depth, byte _stencil, byte _c0, byte _c1, byte _c2, byte _c3, byte _c4, byte _c5, byte _c6, byte _c7)

Set view clear flags with different clear color for each frame buffer texture. Must use bgfx::setPaletteColor to setup clear color palette.

da_bgfx_set_view_frame_buffer
alias da_bgfx_set_view_frame_buffer = void function(bgfx_view_id_t _id, bgfx_frame_buffer_handle_t _handle)

Set view frame buffer. Remarks: Not persistent after bgfx::reset call.

da_bgfx_set_view_mode
alias da_bgfx_set_view_mode = void function(bgfx_view_id_t _id, bgfx_view_mode_t _mode)

Set view sorting mode. Remarks: View mode must be set prior calling bgfx::submit for the view.

da_bgfx_set_view_name
alias da_bgfx_set_view_name = void function(bgfx_view_id_t _id, const(char)* _name)

Set view name. Remarks: This is debug only feature. In graphics debugger view name will appear as: "nnnc <view name>" ^ ^ ^ | +--- compute (C) +------ view id

da_bgfx_set_view_order
alias da_bgfx_set_view_order = void function(bgfx_view_id_t _id, ushort _num, const(bgfx_view_id_t)* _order)

Post submit view reordering.

da_bgfx_set_view_rect
alias da_bgfx_set_view_rect = void function(bgfx_view_id_t _id, ushort _x, ushort _y, ushort _width, ushort _height)

Set view rectangle. Draw primitive outside view will be clipped.

da_bgfx_set_view_rect_ratio
alias da_bgfx_set_view_rect_ratio = void function(bgfx_view_id_t _id, ushort _x, ushort _y, bgfx_backbuffer_ratio_t _ratio)

Set view rectangle. Draw primitive outside view will be clipped.

da_bgfx_set_view_scissor
alias da_bgfx_set_view_scissor = void function(bgfx_view_id_t _id, ushort _x, ushort _y, ushort _width, ushort _height)

Set view scissor. Draw primitive outside view will be clipped. When _x, _y, _width and _height are set to 0, scissor will be disabled.

da_bgfx_set_view_transform
alias da_bgfx_set_view_transform = void function(bgfx_view_id_t _id, const(void)* _view, const(void)* _proj)

Set view view and projection matrices, all draw primitives in this view will use these matrices.

da_bgfx_shutdown
alias da_bgfx_shutdown = void function()

Shutdown bgfx library.

da_bgfx_submit
alias da_bgfx_submit = void function(bgfx_view_id_t _id, bgfx_program_handle_t _program, uint _depth, byte _flags)

Submit primitive for rendering.

da_bgfx_submit_indirect
alias da_bgfx_submit_indirect = void function(bgfx_view_id_t _id, bgfx_program_handle_t _program, bgfx_indirect_buffer_handle_t _indirectHandle, ushort _start, ushort _num, uint _depth, byte _flags)

Submit primitive for rendering with index and instance data info from indirect buffer.

da_bgfx_submit_occlusion_query
alias da_bgfx_submit_occlusion_query = void function(bgfx_view_id_t _id, bgfx_program_handle_t _program, bgfx_occlusion_query_handle_t _occlusionQuery, uint _depth, byte _flags)

Submit primitive with occlusion query for rendering.

da_bgfx_topology_convert
alias da_bgfx_topology_convert = uint function(bgfx_topology_convert_t _conversion, void* _dst, uint _dstSize, const(void)* _indices, uint _numIndices, bool _index32)

Convert index buffer for use with different primitive topologies.

da_bgfx_topology_sort_tri_list
alias da_bgfx_topology_sort_tri_list = void function(bgfx_topology_sort_t _sort, void* _dst, uint _dstSize, const float[3] _dir, const float[3] _pos, const(void)* _vertices, uint _stride, const(void)* _indices, uint _numIndices, bool _index32)

Sort indices.

da_bgfx_touch
alias da_bgfx_touch = void function(bgfx_view_id_t _id)

Submit an empty primitive for rendering. Uniforms and draw state will be applied but no geometry will be submitted. Remarks: These empty draw calls will sort before ordinary draw calls.

da_bgfx_update_dynamic_index_buffer
alias da_bgfx_update_dynamic_index_buffer = void function(bgfx_dynamic_index_buffer_handle_t _handle, uint _startIndex, const(bgfx_memory_t)* _mem)

Update dynamic index buffer.

da_bgfx_update_dynamic_vertex_buffer
alias da_bgfx_update_dynamic_vertex_buffer = void function(bgfx_dynamic_vertex_buffer_handle_t _handle, uint _startVertex, const(bgfx_memory_t)* _mem)

Update dynamic vertex buffer.

da_bgfx_update_texture_2d
alias da_bgfx_update_texture_2d = void function(bgfx_texture_handle_t _handle, ushort _layer, byte _mip, ushort _x, ushort _y, ushort _width, ushort _height, const(bgfx_memory_t)* _mem, ushort _pitch)

Update 2D texture. Attention: It's valid to update only mutable texture. See bgfx::createTexture2D for more info.

da_bgfx_update_texture_3d
alias da_bgfx_update_texture_3d = void function(bgfx_texture_handle_t _handle, byte _mip, ushort _x, ushort _y, ushort _z, ushort _width, ushort _height, ushort _depth, const(bgfx_memory_t)* _mem)

Update 3D texture. Attention: It's valid to update only mutable texture. See bgfx::createTexture3D for more info.

da_bgfx_update_texture_cube
alias da_bgfx_update_texture_cube = void function(bgfx_texture_handle_t _handle, ushort _layer, byte _side, byte _mip, ushort _x, ushort _y, ushort _width, ushort _height, const(bgfx_memory_t)* _mem, ushort _pitch)

Update Cube texture. Attention: It's valid to update only mutable texture. See bgfx::createTextureCube for more info.

da_bgfx_vertex_convert
alias da_bgfx_vertex_convert = void function(const(bgfx_vertex_layout_t)* _dstLayout, void* _dstData, const(bgfx_vertex_layout_t)* _srcLayout, const(void)* _srcData, uint _num)

Converts vertex stream data from one vertex stream format to another.

da_bgfx_vertex_layout_add
alias da_bgfx_vertex_layout_add = bgfx_vertex_layout_t* function(bgfx_vertex_layout_t* _this, bgfx_attrib_t _attrib, byte _num, bgfx_attrib_type_t _type, bool _normalized, bool _asInt)

Add attribute to VertexLayout. Remarks: Must be called between begin/end.

da_bgfx_vertex_layout_begin
alias da_bgfx_vertex_layout_begin = bgfx_vertex_layout_t* function(bgfx_vertex_layout_t* _this, bgfx_renderer_type_t _rendererType)

Start VertexLayout.

da_bgfx_vertex_layout_decode
alias da_bgfx_vertex_layout_decode = void function(const(bgfx_vertex_layout_t)* _this, bgfx_attrib_t _attrib, byte* _num, bgfx_attrib_type_t* _type, bool* _normalized, bool* _asInt)

Decode attribute.

da_bgfx_vertex_layout_end
alias da_bgfx_vertex_layout_end = void function(bgfx_vertex_layout_t* _this)

End VertexLayout.

da_bgfx_vertex_layout_has
alias da_bgfx_vertex_layout_has = bool function(const(bgfx_vertex_layout_t)* _this, bgfx_attrib_t _attrib)

Returns true if VertexLayout contains attribute.

da_bgfx_vertex_layout_skip
alias da_bgfx_vertex_layout_skip = bgfx_vertex_layout_t* function(bgfx_vertex_layout_t* _this, byte _num)

Skip _num bytes in vertex stream.

da_bgfx_vertex_pack
alias da_bgfx_vertex_pack = void function(const float[4] _input, bool _inputNormalized, bgfx_attrib_t _attr, const(bgfx_vertex_layout_t)* _layout, void* _data, uint _index)

Pack vertex attribute into vertex stream format.

da_bgfx_vertex_unpack
alias da_bgfx_vertex_unpack = void function(float[4] _output, bgfx_attrib_t _attr, const(bgfx_vertex_layout_t)* _layout, const(void)* _data, uint _index)

Unpack vertex attribute from vertex stream format.

da_bgfx_weld_vertices
alias da_bgfx_weld_vertices = uint function(void* _output, const(bgfx_vertex_layout_t)* _layout, const(void)* _data, uint _num, bool _index32, float _epsilon)

Weld vertices.

Functions

bgfx_alloc
const(bgfx_memory_t)* bgfx_alloc(uint _size)

Allocate buffer to pass to bgfx calls. Data will be freed inside bgfx.

bgfx_alloc_instance_data_buffer
void bgfx_alloc_instance_data_buffer(bgfx_instance_data_buffer_t* _idb, uint _num, ushort _stride)

Allocate instance data buffer.

bgfx_alloc_transform
uint bgfx_alloc_transform(bgfx_transform_t* _transform, ushort _num)

Reserve matrices in internal matrix cache. Attention: Pointer returned can be modifed until bgfx::frame is called.

bgfx_alloc_transient_buffers
bool bgfx_alloc_transient_buffers(bgfx_transient_vertex_buffer_t* _tvb, const(bgfx_vertex_layout_t)* _layout, uint _numVertices, bgfx_transient_index_buffer_t* _tib, uint _numIndices, bool _index32)

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
void bgfx_alloc_transient_index_buffer(bgfx_transient_index_buffer_t* _tib, uint _num, bool _index32)

Allocate transient index buffer.

bgfx_alloc_transient_vertex_buffer
void bgfx_alloc_transient_vertex_buffer(bgfx_transient_vertex_buffer_t* _tvb, uint _num, const(bgfx_vertex_layout_t)* _layout)

Allocate transient vertex buffer.

bgfx_attachment_init
void bgfx_attachment_init(bgfx_attachment_t* _this, bgfx_texture_handle_t _handle, bgfx_access_t _access, ushort _layer, ushort _numLayers, ushort _mip, byte _resolve)

Init attachment.

bgfx_blit
void bgfx_blit(bgfx_view_id_t _id, bgfx_texture_handle_t _dst, byte _dstMip, ushort _dstX, ushort _dstY, ushort _dstZ, bgfx_texture_handle_t _src, byte _srcMip, ushort _srcX, ushort _srcY, ushort _srcZ, ushort _width, ushort _height, ushort _depth)

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
void bgfx_calc_texture_size(bgfx_texture_info_t* _info, ushort _width, ushort _height, ushort _depth, bool _cubeMap, bool _hasMips, ushort _numLayers, bgfx_texture_format_t _format)

Calculate amount of memory required for texture.

bgfx_copy
const(bgfx_memory_t)* bgfx_copy(const(void)* _data, uint _size)

Allocate buffer and copy data into it. Data will be freed inside bgfx.

bgfx_create_compute_program
bgfx_program_handle_t bgfx_create_compute_program(bgfx_shader_handle_t _csh, bool _destroyShaders)

Create program with compute shader.

bgfx_create_dynamic_index_buffer
bgfx_dynamic_index_buffer_handle_t bgfx_create_dynamic_index_buffer(uint _num, ushort _flags)

Create empty dynamic index buffer.

bgfx_create_dynamic_index_buffer_mem
bgfx_dynamic_index_buffer_handle_t bgfx_create_dynamic_index_buffer_mem(const(bgfx_memory_t)* _mem, ushort _flags)

Create dynamic index buffer and initialized it.

bgfx_create_dynamic_vertex_buffer
bgfx_dynamic_vertex_buffer_handle_t bgfx_create_dynamic_vertex_buffer(uint _num, const(bgfx_vertex_layout_t)* _layout, ushort _flags)

Create empty dynamic vertex buffer.

bgfx_create_dynamic_vertex_buffer_mem
bgfx_dynamic_vertex_buffer_handle_t bgfx_create_dynamic_vertex_buffer_mem(const(bgfx_memory_t)* _mem, const(bgfx_vertex_layout_t)* _layout, ushort _flags)

Create dynamic vertex buffer and initialize it.

bgfx_create_frame_buffer
bgfx_frame_buffer_handle_t bgfx_create_frame_buffer(ushort _width, ushort _height, bgfx_texture_format_t _format, ulong _textureFlags)

Create frame buffer (simple).

bgfx_create_frame_buffer_from_attachment
bgfx_frame_buffer_handle_t bgfx_create_frame_buffer_from_attachment(byte _num, const(bgfx_attachment_t)* _attachment, bool _destroyTexture)

Create MRT frame buffer from texture handles with specific layer and mip level.

bgfx_create_frame_buffer_from_handles
bgfx_frame_buffer_handle_t bgfx_create_frame_buffer_from_handles(byte _num, const(bgfx_texture_handle_t)* _handles, bool _destroyTexture)

Create MRT frame buffer from texture handles (simple).

bgfx_create_frame_buffer_from_nwh
bgfx_frame_buffer_handle_t bgfx_create_frame_buffer_from_nwh(void* _nwh, ushort _width, ushort _height, bgfx_texture_format_t _format, bgfx_texture_format_t _depthFormat)

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
bgfx_frame_buffer_handle_t bgfx_create_frame_buffer_scaled(bgfx_backbuffer_ratio_t _ratio, bgfx_texture_format_t _format, ulong _textureFlags)

Create frame buffer with size based on backbuffer ratio. Frame buffer will maintain ratio if back buffer resolution changes.

bgfx_create_index_buffer
bgfx_index_buffer_handle_t bgfx_create_index_buffer(const(bgfx_memory_t)* _mem, ushort _flags)

Create static index buffer.

bgfx_create_indirect_buffer
bgfx_indirect_buffer_handle_t bgfx_create_indirect_buffer(uint _num)

Create draw indirect buffer.

bgfx_create_occlusion_query
bgfx_occlusion_query_handle_t bgfx_create_occlusion_query()

Create occlusion query.

bgfx_create_program
bgfx_program_handle_t bgfx_create_program(bgfx_shader_handle_t _vsh, bgfx_shader_handle_t _fsh, bool _destroyShaders)

Create program with vertex and fragment shaders.

bgfx_create_shader
bgfx_shader_handle_t bgfx_create_shader(const(bgfx_memory_t)* _mem)

Create shader from memory buffer.

bgfx_create_texture
bgfx_texture_handle_t bgfx_create_texture(const(bgfx_memory_t)* _mem, ulong _flags, byte _skip, bgfx_texture_info_t* _info)

Create texture from memory buffer.

bgfx_create_texture_2d
bgfx_texture_handle_t bgfx_create_texture_2d(ushort _width, ushort _height, bool _hasMips, ushort _numLayers, bgfx_texture_format_t _format, ulong _flags, const(bgfx_memory_t)* _mem)

Create 2D texture.

bgfx_create_texture_2d_scaled
bgfx_texture_handle_t bgfx_create_texture_2d_scaled(bgfx_backbuffer_ratio_t _ratio, bool _hasMips, ushort _numLayers, bgfx_texture_format_t _format, ulong _flags)

Create texture with size based on backbuffer ratio. Texture will maintain ratio if back buffer resolution changes.

bgfx_create_texture_3d
bgfx_texture_handle_t bgfx_create_texture_3d(ushort _width, ushort _height, ushort _depth, bool _hasMips, bgfx_texture_format_t _format, ulong _flags, const(bgfx_memory_t)* _mem)

Create 3D texture.

bgfx_create_texture_cube
bgfx_texture_handle_t bgfx_create_texture_cube(ushort _size, bool _hasMips, ushort _numLayers, bgfx_texture_format_t _format, ulong _flags, const(bgfx_memory_t)* _mem)

Create Cube texture.

bgfx_create_uniform
bgfx_uniform_handle_t bgfx_create_uniform(const(char)* _name, bgfx_uniform_type_t _type, ushort _num)

Create shader uniform parameter. Remarks: 1. Uniform names are unique. It's valid to call bgfx::createUniform multiple times with the same uniform name. The library will always return the same handle, but the handle reference count will be incremented. This means that the same number of bgfx::destroyUniform must be called to properly destroy the uniform. 2. Predefined uniforms (declared in bgfx_shader.sh): - u_viewRect vec4(x, y, width, height) - view rectangle for current view, in pixels. - u_viewTexel vec4(1.0/width, 1.0/height, undef, undef) - inverse width and height - u_view mat4 - view matrix - u_invView mat4 - inverted view matrix - u_proj mat4 - projection matrix - u_invProj mat4 - inverted projection matrix - u_viewProj mat4 - concatenated view projection matrix - u_invViewProj mat4 - concatenated inverted view projection matrix - u_model mat4[BGFX_CONFIG_MAX_BONES] - array of model matrices. - u_modelView mat4 - concatenated model view matrix, only first model matrix from array is used. - u_modelViewProj mat4 - concatenated model view projection matrix. - u_alphaRef float - alpha reference value for alpha test.

bgfx_create_vertex_buffer
bgfx_vertex_buffer_handle_t bgfx_create_vertex_buffer(const(bgfx_memory_t)* _mem, const(bgfx_vertex_layout_t)* _layout, ushort _flags)

Create static vertex buffer.

bgfx_create_vertex_layout
bgfx_vertex_layout_handle_t bgfx_create_vertex_layout(const(bgfx_vertex_layout_t)* _layout)

Create vertex layout.

bgfx_dbg_text_clear
void bgfx_dbg_text_clear(byte _attr, bool _small)

Clear internal debug text buffer.

bgfx_dbg_text_image
void bgfx_dbg_text_image(ushort _x, ushort _y, ushort _width, ushort _height, const(void)* _data, ushort _pitch)

Draw image into internal debug text buffer.

bgfx_dbg_text_printf
void bgfx_dbg_text_printf(ushort _x, ushort _y, byte _attr, const(char)* _format, ...)

Print formatted data to internal debug text character-buffer (VGA-compatible text mode).

bgfx_dbg_text_vprintf
void bgfx_dbg_text_vprintf(ushort _x, ushort _y, byte _attr, const(char)* _format, va_list _argList)

Print formatted data from variable argument list to internal debug text character-buffer (VGA-compatible text mode).

bgfx_destroy_dynamic_index_buffer
void bgfx_destroy_dynamic_index_buffer(bgfx_dynamic_index_buffer_handle_t _handle)

Destroy dynamic index buffer.

bgfx_destroy_dynamic_vertex_buffer
void bgfx_destroy_dynamic_vertex_buffer(bgfx_dynamic_vertex_buffer_handle_t _handle)

Destroy dynamic vertex buffer.

bgfx_destroy_frame_buffer
void bgfx_destroy_frame_buffer(bgfx_frame_buffer_handle_t _handle)

Destroy frame buffer.

bgfx_destroy_index_buffer
void bgfx_destroy_index_buffer(bgfx_index_buffer_handle_t _handle)

Destroy static index buffer.

bgfx_destroy_indirect_buffer
void bgfx_destroy_indirect_buffer(bgfx_indirect_buffer_handle_t _handle)

Destroy draw indirect buffer.

bgfx_destroy_occlusion_query
void bgfx_destroy_occlusion_query(bgfx_occlusion_query_handle_t _handle)

Destroy occlusion query.

bgfx_destroy_program
void bgfx_destroy_program(bgfx_program_handle_t _handle)

Destroy program.

bgfx_destroy_shader
void bgfx_destroy_shader(bgfx_shader_handle_t _handle)

Destroy shader. Remarks: Once a shader program is created with _handle, it is safe to destroy that shader.

bgfx_destroy_texture
void bgfx_destroy_texture(bgfx_texture_handle_t _handle)

Destroy texture.

bgfx_destroy_uniform
void bgfx_destroy_uniform(bgfx_uniform_handle_t _handle)

Destroy shader uniform parameter.

bgfx_destroy_vertex_buffer
void bgfx_destroy_vertex_buffer(bgfx_vertex_buffer_handle_t _handle)

Destroy static vertex buffer.

bgfx_destroy_vertex_layout
void bgfx_destroy_vertex_layout(bgfx_vertex_layout_handle_t _layoutHandle)

Destroy vertex layout.

bgfx_discard
void bgfx_discard(byte _flags)

Discard previously set state for draw or compute call.

bgfx_dispatch
void bgfx_dispatch(bgfx_view_id_t _id, bgfx_program_handle_t _program, uint _numX, uint _numY, uint _numZ, byte _flags)

Dispatch compute.

bgfx_dispatch_indirect
void bgfx_dispatch_indirect(bgfx_view_id_t _id, bgfx_program_handle_t _program, bgfx_indirect_buffer_handle_t _indirectHandle, ushort _start, ushort _num, byte _flags)

Dispatch compute indirect.

bgfx_encoder_alloc_transform
uint bgfx_encoder_alloc_transform(bgfx_encoder_t* _this, bgfx_transform_t* _transform, ushort _num)

Reserve matrices in internal matrix cache. Attention: Pointer returned can be modifed until bgfx::frame is called.

bgfx_encoder_begin
bgfx_encoder_t* bgfx_encoder_begin(bool _forThread)

Begin submitting draw calls from thread.

bgfx_encoder_blit
void bgfx_encoder_blit(bgfx_encoder_t* _this, bgfx_view_id_t _id, bgfx_texture_handle_t _dst, byte _dstMip, ushort _dstX, ushort _dstY, ushort _dstZ, bgfx_texture_handle_t _src, byte _srcMip, ushort _srcX, ushort _srcY, ushort _srcZ, ushort _width, ushort _height, ushort _depth)

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
void bgfx_encoder_discard(bgfx_encoder_t* _this, byte _flags)

Discard previously set state for draw or compute call.

bgfx_encoder_dispatch
void bgfx_encoder_dispatch(bgfx_encoder_t* _this, bgfx_view_id_t _id, bgfx_program_handle_t _program, uint _numX, uint _numY, uint _numZ, byte _flags)

Dispatch compute.

bgfx_encoder_dispatch_indirect
void bgfx_encoder_dispatch_indirect(bgfx_encoder_t* _this, bgfx_view_id_t _id, bgfx_program_handle_t _program, bgfx_indirect_buffer_handle_t _indirectHandle, ushort _start, ushort _num, byte _flags)

Dispatch compute indirect.

bgfx_encoder_end
void bgfx_encoder_end(bgfx_encoder_t* _encoder)

End submitting draw calls from thread.

bgfx_encoder_set_compute_dynamic_index_buffer
void bgfx_encoder_set_compute_dynamic_index_buffer(bgfx_encoder_t* _this, byte _stage, bgfx_dynamic_index_buffer_handle_t _handle, bgfx_access_t _access)

Set compute dynamic index buffer.

bgfx_encoder_set_compute_dynamic_vertex_buffer
void bgfx_encoder_set_compute_dynamic_vertex_buffer(bgfx_encoder_t* _this, byte _stage, bgfx_dynamic_vertex_buffer_handle_t _handle, bgfx_access_t _access)

Set compute dynamic vertex buffer.

bgfx_encoder_set_compute_index_buffer
void bgfx_encoder_set_compute_index_buffer(bgfx_encoder_t* _this, byte _stage, bgfx_index_buffer_handle_t _handle, bgfx_access_t _access)

Set compute index buffer.

bgfx_encoder_set_compute_indirect_buffer
void bgfx_encoder_set_compute_indirect_buffer(bgfx_encoder_t* _this, byte _stage, bgfx_indirect_buffer_handle_t _handle, bgfx_access_t _access)

Set compute indirect buffer.

bgfx_encoder_set_compute_vertex_buffer
void bgfx_encoder_set_compute_vertex_buffer(bgfx_encoder_t* _this, byte _stage, bgfx_vertex_buffer_handle_t _handle, bgfx_access_t _access)

Set compute vertex buffer.

bgfx_encoder_set_condition
void bgfx_encoder_set_condition(bgfx_encoder_t* _this, bgfx_occlusion_query_handle_t _handle, bool _visible)

Set condition for rendering.

bgfx_encoder_set_dynamic_index_buffer
void bgfx_encoder_set_dynamic_index_buffer(bgfx_encoder_t* _this, bgfx_dynamic_index_buffer_handle_t _handle, uint _firstIndex, uint _numIndices)

Set index buffer for draw primitive.

bgfx_encoder_set_dynamic_vertex_buffer
void bgfx_encoder_set_dynamic_vertex_buffer(bgfx_encoder_t* _this, byte _stream, bgfx_dynamic_vertex_buffer_handle_t _handle, uint _startVertex, uint _numVertices)

Set vertex buffer for draw primitive.

bgfx_encoder_set_dynamic_vertex_buffer_with_layout
void bgfx_encoder_set_dynamic_vertex_buffer_with_layout(bgfx_encoder_t* _this, byte _stream, bgfx_dynamic_vertex_buffer_handle_t _handle, uint _startVertex, uint _numVertices, bgfx_vertex_layout_handle_t _layoutHandle)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
bgfx_encoder_set_image
void bgfx_encoder_set_image(bgfx_encoder_t* _this, byte _stage, bgfx_texture_handle_t _handle, byte _mip, bgfx_access_t _access, bgfx_texture_format_t _format)

Set compute image from texture.

bgfx_encoder_set_index_buffer
void bgfx_encoder_set_index_buffer(bgfx_encoder_t* _this, bgfx_index_buffer_handle_t _handle, uint _firstIndex, uint _numIndices)

Set index buffer for draw primitive.

bgfx_encoder_set_instance_count
void bgfx_encoder_set_instance_count(bgfx_encoder_t* _this, uint _numInstances)

Set number of instances for auto generated instances use in conjuction with gl_InstanceID. Attention: Availability depends on: BGFX_CAPS_VERTEX_ID.

bgfx_encoder_set_instance_data_buffer
void bgfx_encoder_set_instance_data_buffer(bgfx_encoder_t* _this, const(bgfx_instance_data_buffer_t)* _idb, uint _start, uint _num)

Set instance data buffer for draw primitive.

bgfx_encoder_set_instance_data_from_dynamic_vertex_buffer
void bgfx_encoder_set_instance_data_from_dynamic_vertex_buffer(bgfx_encoder_t* _this, bgfx_dynamic_vertex_buffer_handle_t _handle, uint _startVertex, uint _num)

Set instance data buffer for draw primitive.

bgfx_encoder_set_instance_data_from_vertex_buffer
void bgfx_encoder_set_instance_data_from_vertex_buffer(bgfx_encoder_t* _this, bgfx_vertex_buffer_handle_t _handle, uint _startVertex, uint _num)

Set instance data buffer for draw primitive.

bgfx_encoder_set_marker
void bgfx_encoder_set_marker(bgfx_encoder_t* _this, const(char)* _marker)

Sets a debug marker. This allows you to group graphics calls together for easy browsing in graphics debugging tools.

bgfx_encoder_set_scissor
ushort bgfx_encoder_set_scissor(bgfx_encoder_t* _this, ushort _x, ushort _y, ushort _width, ushort _height)

Set scissor for draw primitive. Remarks: To scissor for all primitives in view see bgfx::setViewScissor.

bgfx_encoder_set_scissor_cached
void bgfx_encoder_set_scissor_cached(bgfx_encoder_t* _this, ushort _cache)

Set scissor from cache for draw primitive. Remarks: To scissor for all primitives in view see bgfx::setViewScissor.

bgfx_encoder_set_state
void bgfx_encoder_set_state(bgfx_encoder_t* _this, ulong _state, uint _rgba)

Set render states for draw primitive. Remarks: 1. To setup more complex states use: BGFX_STATE_ALPHA_REF(_ref), BGFX_STATE_POINT_SIZE(_size), BGFX_STATE_BLEND_FUNC(_src, _dst), BGFX_STATE_BLEND_FUNC_SEPARATE(_srcRGB, _dstRGB, _srcA, _dstA), BGFX_STATE_BLEND_EQUATION(_equation), BGFX_STATE_BLEND_EQUATION_SEPARATE(_equationRGB, _equationA) 2. BGFX_STATE_BLEND_EQUATION_ADD is set when no other blend equation is specified.

bgfx_encoder_set_stencil
void bgfx_encoder_set_stencil(bgfx_encoder_t* _this, uint _fstencil, uint _bstencil)

Set stencil test state.

bgfx_encoder_set_texture
void bgfx_encoder_set_texture(bgfx_encoder_t* _this, byte _stage, bgfx_uniform_handle_t _sampler, bgfx_texture_handle_t _handle, uint _flags)

Set texture stage for draw primitive.

bgfx_encoder_set_transform
uint bgfx_encoder_set_transform(bgfx_encoder_t* _this, const(void)* _mtx, ushort _num)

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
void bgfx_encoder_set_transform_cached(bgfx_encoder_t* _this, uint _cache, ushort _num)

Set model matrix from matrix cache for draw primitive.

bgfx_encoder_set_transient_index_buffer
void bgfx_encoder_set_transient_index_buffer(bgfx_encoder_t* _this, const(bgfx_transient_index_buffer_t)* _tib, uint _firstIndex, uint _numIndices)

Set index buffer for draw primitive.

bgfx_encoder_set_transient_vertex_buffer
void bgfx_encoder_set_transient_vertex_buffer(bgfx_encoder_t* _this, byte _stream, const(bgfx_transient_vertex_buffer_t)* _tvb, uint _startVertex, uint _numVertices)

Set vertex buffer for draw primitive.

bgfx_encoder_set_transient_vertex_buffer_with_layout
void bgfx_encoder_set_transient_vertex_buffer_with_layout(bgfx_encoder_t* _this, byte _stream, const(bgfx_transient_vertex_buffer_t)* _tvb, uint _startVertex, uint _numVertices, bgfx_vertex_layout_handle_t _layoutHandle)

Set vertex buffer for draw primitive.

bgfx_encoder_set_uniform
void bgfx_encoder_set_uniform(bgfx_encoder_t* _this, bgfx_uniform_handle_t _handle, const(void)* _value, ushort _num)

Set shader uniform parameter for draw primitive.

bgfx_encoder_set_vertex_buffer
void bgfx_encoder_set_vertex_buffer(bgfx_encoder_t* _this, byte _stream, bgfx_vertex_buffer_handle_t _handle, uint _startVertex, uint _numVertices)

Set vertex buffer for draw primitive.

bgfx_encoder_set_vertex_buffer_with_layout
void bgfx_encoder_set_vertex_buffer_with_layout(bgfx_encoder_t* _this, byte _stream, bgfx_vertex_buffer_handle_t _handle, uint _startVertex, uint _numVertices, bgfx_vertex_layout_handle_t _layoutHandle)

Set vertex buffer for draw primitive.

bgfx_encoder_set_vertex_count
void bgfx_encoder_set_vertex_count(bgfx_encoder_t* _this, uint _numVertices)

Set number of vertices for auto generated vertices use in conjuction with gl_VertexID. Attention: Availability depends on: BGFX_CAPS_VERTEX_ID.

bgfx_encoder_submit
void bgfx_encoder_submit(bgfx_encoder_t* _this, bgfx_view_id_t _id, bgfx_program_handle_t _program, uint _depth, byte _flags)

Submit primitive for rendering.

bgfx_encoder_submit_indirect
void bgfx_encoder_submit_indirect(bgfx_encoder_t* _this, bgfx_view_id_t _id, bgfx_program_handle_t _program, bgfx_indirect_buffer_handle_t _indirectHandle, ushort _start, ushort _num, uint _depth, byte _flags)

Submit primitive for rendering with index and instance data info from indirect buffer.

bgfx_encoder_submit_occlusion_query
void bgfx_encoder_submit_occlusion_query(bgfx_encoder_t* _this, bgfx_view_id_t _id, bgfx_program_handle_t _program, bgfx_occlusion_query_handle_t _occlusionQuery, uint _depth, byte _flags)

Submit primitive with occlusion query for rendering.

bgfx_encoder_touch
void bgfx_encoder_touch(bgfx_encoder_t* _this, bgfx_view_id_t _id)

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. Remarks: These empty draw calls will sort before ordinary draw calls.

bgfx_frame
uint bgfx_frame(bool _capture)

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
uint bgfx_get_avail_instance_data_buffer(uint _num, ushort _stride)

Returns number of requested or maximum available instance buffer slots.

bgfx_get_avail_transient_index_buffer
uint bgfx_get_avail_transient_index_buffer(uint _num, bool _index32)

Returns number of requested or maximum available indices.

bgfx_get_avail_transient_vertex_buffer
uint bgfx_get_avail_transient_vertex_buffer(uint _num, const(bgfx_vertex_layout_t)* _layout)

Returns number of requested or maximum available vertices.

bgfx_get_caps
const(bgfx_caps_t)* bgfx_get_caps()

Returns renderer capabilities. Remarks: Library must be initialized.

bgfx_get_direct_access_ptr
void* bgfx_get_direct_access_ptr(bgfx_texture_handle_t _handle)

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_internal_data
const(bgfx_internal_data_t)* 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
const(char)* bgfx_get_renderer_name(bgfx_renderer_type_t _type)

Returns name of renderer.

bgfx_get_renderer_type
bgfx_renderer_type_t bgfx_get_renderer_type()

Returns current renderer backend API type. Remarks: Library must be initialized.

bgfx_get_result
bgfx_occlusion_query_result_t bgfx_get_result(bgfx_occlusion_query_handle_t _handle, int* _result)

Retrieve occlusion query result from previous frame.

bgfx_get_shader_uniforms
ushort bgfx_get_shader_uniforms(bgfx_shader_handle_t _handle, bgfx_uniform_handle_t* _uniforms, ushort _max)

Returns the number of uniforms and uniform handles used inside a shader. Remarks: Only non-predefined uniforms are returned.

bgfx_get_stats
const(bgfx_stats_t)* bgfx_get_stats()

Returns performance counters. Attention: Pointer returned is valid until bgfx::frame is called.

bgfx_get_supported_renderers
byte bgfx_get_supported_renderers(byte _max, bgfx_renderer_type_t* _enum)

Returns supported backend API renderers.

bgfx_get_texture
bgfx_texture_handle_t bgfx_get_texture(bgfx_frame_buffer_handle_t _handle, byte _attachment)

Obtain texture handle of frame buffer attachment.

bgfx_get_uniform_info
void bgfx_get_uniform_info(bgfx_uniform_handle_t _handle, bgfx_uniform_info_t* _info)

Retrieve uniform info.

bgfx_init
bool bgfx_init(const(bgfx_init_t)* _init)

Initialize bgfx library.

bgfx_init_ctor
void bgfx_init_ctor(bgfx_init_t* _init)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
bgfx_is_frame_buffer_valid
bool bgfx_is_frame_buffer_valid(byte _num, const(bgfx_attachment_t)* _attachment)

Validate frame buffer parameters.

bgfx_is_texture_valid
bool bgfx_is_texture_valid(ushort _depth, bool _cubeMap, ushort _numLayers, bgfx_texture_format_t _format, ulong _flags)

Validate texture parameters.

bgfx_make_ref
const(bgfx_memory_t)* bgfx_make_ref(const(void)* _data, uint _size)

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
const(bgfx_memory_t)* bgfx_make_ref_release(const(void)* _data, uint _size, void* _releaseFn, void* _userData)

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
ulong bgfx_override_internal_texture(bgfx_texture_handle_t _handle, ushort _width, ushort _height, byte _numMips, bgfx_texture_format_t _format, ulong _flags)

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.

bgfx_override_internal_texture_ptr
ulong bgfx_override_internal_texture_ptr(bgfx_texture_handle_t _handle, ulong _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
uint bgfx_read_texture(bgfx_texture_handle_t _handle, void* _data, byte _mip)

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
bgfx_render_frame_t bgfx_render_frame(int _msecs)

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
void bgfx_request_screen_shot(bgfx_frame_buffer_handle_t _handle, const(char)* _filePath)

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
void bgfx_reset(uint _width, uint _height, uint _flags, bgfx_texture_format_t _format)

Reset graphic settings and back-buffer size. Attention: This call doesn't actually change window size, it just resizes back-buffer. Windowing code has to change window size.

bgfx_reset_view
void bgfx_reset_view(bgfx_view_id_t _id)

Reset all view settings to default.

bgfx_set_compute_dynamic_index_buffer
void bgfx_set_compute_dynamic_index_buffer(byte _stage, bgfx_dynamic_index_buffer_handle_t _handle, bgfx_access_t _access)

Set compute dynamic index buffer.

bgfx_set_compute_dynamic_vertex_buffer
void bgfx_set_compute_dynamic_vertex_buffer(byte _stage, bgfx_dynamic_vertex_buffer_handle_t _handle, bgfx_access_t _access)

Set compute dynamic vertex buffer.

bgfx_set_compute_index_buffer
void bgfx_set_compute_index_buffer(byte _stage, bgfx_index_buffer_handle_t _handle, bgfx_access_t _access)

Set compute index buffer.

bgfx_set_compute_indirect_buffer
void bgfx_set_compute_indirect_buffer(byte _stage, bgfx_indirect_buffer_handle_t _handle, bgfx_access_t _access)

Set compute indirect buffer.

bgfx_set_compute_vertex_buffer
void bgfx_set_compute_vertex_buffer(byte _stage, bgfx_vertex_buffer_handle_t _handle, bgfx_access_t _access)

Set compute vertex buffer.

bgfx_set_condition
void bgfx_set_condition(bgfx_occlusion_query_handle_t _handle, bool _visible)

Set condition for rendering.

bgfx_set_debug
void bgfx_set_debug(uint _debug)

Set debug flags.

bgfx_set_dynamic_index_buffer
void bgfx_set_dynamic_index_buffer(bgfx_dynamic_index_buffer_handle_t _handle, uint _firstIndex, uint _numIndices)

Set index buffer for draw primitive.

bgfx_set_dynamic_vertex_buffer
void bgfx_set_dynamic_vertex_buffer(byte _stream, bgfx_dynamic_vertex_buffer_handle_t _handle, uint _startVertex, uint _numVertices)

Set vertex buffer for draw primitive.

bgfx_set_dynamic_vertex_buffer_with_layout
void bgfx_set_dynamic_vertex_buffer_with_layout(byte _stream, bgfx_dynamic_vertex_buffer_handle_t _handle, uint _startVertex, uint _numVertices, bgfx_vertex_layout_handle_t _layoutHandle)

Set vertex buffer for draw primitive.

bgfx_set_frame_buffer_name
void bgfx_set_frame_buffer_name(bgfx_frame_buffer_handle_t _handle, const(char)* _name, int _len)

Set frame buffer debug name.

bgfx_set_image
void bgfx_set_image(byte _stage, bgfx_texture_handle_t _handle, byte _mip, bgfx_access_t _access, bgfx_texture_format_t _format)

Set compute image from texture.

bgfx_set_index_buffer
void bgfx_set_index_buffer(bgfx_index_buffer_handle_t _handle, uint _firstIndex, uint _numIndices)

Set index buffer for draw primitive.

bgfx_set_index_buffer_name
void bgfx_set_index_buffer_name(bgfx_index_buffer_handle_t _handle, const(char)* _name, int _len)

Set static index buffer debug name.

bgfx_set_instance_count
void bgfx_set_instance_count(uint _numInstances)

Set number of instances for auto generated instances use in conjuction with gl_InstanceID. Attention: Availability depends on: BGFX_CAPS_VERTEX_ID.

bgfx_set_instance_data_buffer
void bgfx_set_instance_data_buffer(const(bgfx_instance_data_buffer_t)* _idb, uint _start, uint _num)

Set instance data buffer for draw primitive.

bgfx_set_instance_data_from_dynamic_vertex_buffer
void bgfx_set_instance_data_from_dynamic_vertex_buffer(bgfx_dynamic_vertex_buffer_handle_t _handle, uint _startVertex, uint _num)

Set instance data buffer for draw primitive.

bgfx_set_instance_data_from_vertex_buffer
void bgfx_set_instance_data_from_vertex_buffer(bgfx_vertex_buffer_handle_t _handle, uint _startVertex, uint _num)

Set instance data buffer for draw primitive.

bgfx_set_marker
void bgfx_set_marker(const(char)* _marker)

Sets a debug marker. This allows you to group graphics calls together for easy browsing in graphics debugging tools.

bgfx_set_palette_color
void bgfx_set_palette_color(byte _index, float[4] _rgba)

Set palette color value.

bgfx_set_palette_color_rgba8
void bgfx_set_palette_color_rgba8(byte _index, uint _rgba)

Set palette color value.

bgfx_set_platform_data
void bgfx_set_platform_data(const(bgfx_platform_data_t)* _data)

Set platform data. Warning: Must be called before bgfx::init.

bgfx_set_scissor
ushort bgfx_set_scissor(ushort _x, ushort _y, ushort _width, ushort _height)

Set scissor for draw primitive. Remarks: To scissor for all primitives in view see bgfx::setViewScissor.

bgfx_set_scissor_cached
void bgfx_set_scissor_cached(ushort _cache)

Set scissor from cache for draw primitive. Remarks: To scissor for all primitives in view see bgfx::setViewScissor.

bgfx_set_shader_name
void bgfx_set_shader_name(bgfx_shader_handle_t _handle, const(char)* _name, int _len)

Set shader debug name.

bgfx_set_state
void bgfx_set_state(ulong _state, uint _rgba)

Set render states for draw primitive. Remarks: 1. To setup more complex states use: BGFX_STATE_ALPHA_REF(_ref), BGFX_STATE_POINT_SIZE(_size), BGFX_STATE_BLEND_FUNC(_src, _dst), BGFX_STATE_BLEND_FUNC_SEPARATE(_srcRGB, _dstRGB, _srcA, _dstA), BGFX_STATE_BLEND_EQUATION(_equation), BGFX_STATE_BLEND_EQUATION_SEPARATE(_equationRGB, _equationA) 2. BGFX_STATE_BLEND_EQUATION_ADD is set when no other blend equation is specified.

bgfx_set_stencil
void bgfx_set_stencil(uint _fstencil, uint _bstencil)

Set stencil test state.

bgfx_set_texture
void bgfx_set_texture(byte _stage, bgfx_uniform_handle_t _sampler, bgfx_texture_handle_t _handle, uint _flags)

Set texture stage for draw primitive.

bgfx_set_texture_name
void bgfx_set_texture_name(bgfx_texture_handle_t _handle, const(char)* _name, int _len)

Set texture debug name.

bgfx_set_transform
uint bgfx_set_transform(const(void)* _mtx, ushort _num)

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
void bgfx_set_transform_cached(uint _cache, ushort _num)

Set model matrix from matrix cache for draw primitive.

bgfx_set_transient_index_buffer
void bgfx_set_transient_index_buffer(const(bgfx_transient_index_buffer_t)* _tib, uint _firstIndex, uint _numIndices)

Set index buffer for draw primitive.

bgfx_set_transient_vertex_buffer
void bgfx_set_transient_vertex_buffer(byte _stream, const(bgfx_transient_vertex_buffer_t)* _tvb, uint _startVertex, uint _numVertices)

Set vertex buffer for draw primitive.

bgfx_set_transient_vertex_buffer_with_layout
void bgfx_set_transient_vertex_buffer_with_layout(byte _stream, const(bgfx_transient_vertex_buffer_t)* _tvb, uint _startVertex, uint _numVertices, bgfx_vertex_layout_handle_t _layoutHandle)

Set vertex buffer for draw primitive.

bgfx_set_uniform
void bgfx_set_uniform(bgfx_uniform_handle_t _handle, const(void)* _value, ushort _num)

Set shader uniform parameter for draw primitive.

bgfx_set_vertex_buffer
void bgfx_set_vertex_buffer(byte _stream, bgfx_vertex_buffer_handle_t _handle, uint _startVertex, uint _numVertices)

Set vertex buffer for draw primitive.

bgfx_set_vertex_buffer_name
void bgfx_set_vertex_buffer_name(bgfx_vertex_buffer_handle_t _handle, const(char)* _name, int _len)

Set static vertex buffer debug name.

bgfx_set_vertex_buffer_with_layout
void bgfx_set_vertex_buffer_with_layout(byte _stream, bgfx_vertex_buffer_handle_t _handle, uint _startVertex, uint _numVertices, bgfx_vertex_layout_handle_t _layoutHandle)

Set vertex buffer for draw primitive.

bgfx_set_vertex_count
void bgfx_set_vertex_count(uint _numVertices)

Set number of vertices for auto generated vertices use in conjuction with gl_VertexID. Attention: Availability depends on: BGFX_CAPS_VERTEX_ID.

bgfx_set_view_clear
void bgfx_set_view_clear(bgfx_view_id_t _id, ushort _flags, uint _rgba, float _depth, byte _stencil)

Set view clear flags.

bgfx_set_view_clear_mrt
void bgfx_set_view_clear_mrt(bgfx_view_id_t _id, ushort _flags, float _depth, byte _stencil, byte _c0, byte _c1, byte _c2, byte _c3, byte _c4, byte _c5, byte _c6, byte _c7)

Set view clear flags with different clear color for each frame buffer texture. Must use bgfx::setPaletteColor to setup clear color palette.

bgfx_set_view_frame_buffer
void bgfx_set_view_frame_buffer(bgfx_view_id_t _id, bgfx_frame_buffer_handle_t _handle)

Set view frame buffer. Remarks: Not persistent after bgfx::reset call.

bgfx_set_view_mode
void bgfx_set_view_mode(bgfx_view_id_t _id, bgfx_view_mode_t _mode)

Set view sorting mode. Remarks: View mode must be set prior calling bgfx::submit for the view.

bgfx_set_view_name
void bgfx_set_view_name(bgfx_view_id_t _id, const(char)* _name)

Set view name. Remarks: This is debug only feature. In graphics debugger view name will appear as: "nnnc <view name>" ^ ^ ^ | +--- compute (C) +------ view id

bgfx_set_view_order
void bgfx_set_view_order(bgfx_view_id_t _id, ushort _num, const(bgfx_view_id_t)* _order)

Post submit view reordering.

bgfx_set_view_rect
void bgfx_set_view_rect(bgfx_view_id_t _id, ushort _x, ushort _y, ushort _width, ushort _height)

Set view rectangle. Draw primitive outside view will be clipped.

bgfx_set_view_rect_ratio
void bgfx_set_view_rect_ratio(bgfx_view_id_t _id, ushort _x, ushort _y, bgfx_backbuffer_ratio_t _ratio)

Set view rectangle. Draw primitive outside view will be clipped.

bgfx_set_view_scissor
void bgfx_set_view_scissor(bgfx_view_id_t _id, ushort _x, ushort _y, ushort _width, ushort _height)

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
void bgfx_set_view_transform(bgfx_view_id_t _id, const(void)* _view, const(void)* _proj)

Set view view and projection matrices, all draw primitives in this view will use these matrices.

bgfx_shutdown
void bgfx_shutdown()

Shutdown bgfx library.

bgfx_submit
void bgfx_submit(bgfx_view_id_t _id, bgfx_program_handle_t _program, uint _depth, byte _flags)

Submit primitive for rendering.

bgfx_submit_indirect
void bgfx_submit_indirect(bgfx_view_id_t _id, bgfx_program_handle_t _program, bgfx_indirect_buffer_handle_t _indirectHandle, ushort _start, ushort _num, uint _depth, byte _flags)

Submit primitive for rendering with index and instance data info from indirect buffer.

bgfx_submit_occlusion_query
void bgfx_submit_occlusion_query(bgfx_view_id_t _id, bgfx_program_handle_t _program, bgfx_occlusion_query_handle_t _occlusionQuery, uint _depth, byte _flags)

Submit primitive with occlusion query for rendering.

bgfx_topology_convert
uint bgfx_topology_convert(bgfx_topology_convert_t _conversion, void* _dst, uint _dstSize, const(void)* _indices, uint _numIndices, bool _index32)

Convert index buffer for use with different primitive topologies.

bgfx_topology_sort_tri_list
void bgfx_topology_sort_tri_list(bgfx_topology_sort_t _sort, void* _dst, uint _dstSize, float[3] _dir, float[3] _pos, const(void)* _vertices, uint _stride, const(void)* _indices, uint _numIndices, bool _index32)

Sort indices.

bgfx_touch
void bgfx_touch(bgfx_view_id_t _id)

Submit an empty primitive for rendering. Uniforms and draw state will be applied but no geometry will be submitted. Remarks: These empty draw calls will sort before ordinary draw calls.

bgfx_update_dynamic_index_buffer
void bgfx_update_dynamic_index_buffer(bgfx_dynamic_index_buffer_handle_t _handle, uint _startIndex, const(bgfx_memory_t)* _mem)

Update dynamic index buffer.

bgfx_update_dynamic_vertex_buffer
void bgfx_update_dynamic_vertex_buffer(bgfx_dynamic_vertex_buffer_handle_t _handle, uint _startVertex, const(bgfx_memory_t)* _mem)

Update dynamic vertex buffer.

bgfx_update_texture_2d
void bgfx_update_texture_2d(bgfx_texture_handle_t _handle, ushort _layer, byte _mip, ushort _x, ushort _y, ushort _width, ushort _height, const(bgfx_memory_t)* _mem, ushort _pitch)

Update 2D texture. Attention: It's valid to update only mutable texture. See bgfx::createTexture2D for more info.

bgfx_update_texture_3d
void bgfx_update_texture_3d(bgfx_texture_handle_t _handle, byte _mip, ushort _x, ushort _y, ushort _z, ushort _width, ushort _height, ushort _depth, const(bgfx_memory_t)* _mem)

Update 3D texture. Attention: It's valid to update only mutable texture. See bgfx::createTexture3D for more info.

bgfx_update_texture_cube
void bgfx_update_texture_cube(bgfx_texture_handle_t _handle, ushort _layer, byte _side, byte _mip, ushort _x, ushort _y, ushort _width, ushort _height, const(bgfx_memory_t)* _mem, ushort _pitch)

Update Cube texture. Attention: It's valid to update only mutable texture. See bgfx::createTextureCube for more info.

bgfx_vertex_convert
void bgfx_vertex_convert(const(bgfx_vertex_layout_t)* _dstLayout, void* _dstData, const(bgfx_vertex_layout_t)* _srcLayout, const(void)* _srcData, uint _num)

Converts vertex stream data from one vertex stream format to another.

bgfx_vertex_layout_add
bgfx_vertex_layout_t* bgfx_vertex_layout_add(bgfx_vertex_layout_t* _this, bgfx_attrib_t _attrib, byte _num, bgfx_attrib_type_t _type, bool _normalized, bool _asInt)

Add attribute to VertexLayout. Remarks: Must be called between begin/end.

bgfx_vertex_layout_begin
bgfx_vertex_layout_t* bgfx_vertex_layout_begin(bgfx_vertex_layout_t* _this, bgfx_renderer_type_t _rendererType)

Start VertexLayout.

bgfx_vertex_layout_decode
void bgfx_vertex_layout_decode(const(bgfx_vertex_layout_t)* _this, bgfx_attrib_t _attrib, byte* _num, bgfx_attrib_type_t* _type, bool* _normalized, bool* _asInt)

Decode attribute.

bgfx_vertex_layout_end
void bgfx_vertex_layout_end(bgfx_vertex_layout_t* _this)

End VertexLayout.

bgfx_vertex_layout_has
bool bgfx_vertex_layout_has(const(bgfx_vertex_layout_t)* _this, bgfx_attrib_t _attrib)

Returns true if VertexLayout contains attribute.

bgfx_vertex_layout_skip
bgfx_vertex_layout_t* bgfx_vertex_layout_skip(bgfx_vertex_layout_t* _this, byte _num)

Skip _num bytes in vertex stream.

bgfx_vertex_pack
void bgfx_vertex_pack(float[4] _input, bool _inputNormalized, bgfx_attrib_t _attr, const(bgfx_vertex_layout_t)* _layout, void* _data, uint _index)

Pack vertex attribute into vertex stream format.

bgfx_vertex_unpack
void bgfx_vertex_unpack(float[4] _output, bgfx_attrib_t _attr, const(bgfx_vertex_layout_t)* _layout, const(void)* _data, uint _index)

Unpack vertex attribute from vertex stream format.

bgfx_weld_vertices
uint bgfx_weld_vertices(void* _output, const(bgfx_vertex_layout_t)* _layout, const(void)* _data, uint _num, bool _index32, float _epsilon)

Weld vertices.

Static variables

bgfx_alloc
da_bgfx_alloc bgfx_alloc;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
bgfx_alloc_instance_data_buffer
da_bgfx_alloc_instance_data_buffer bgfx_alloc_instance_data_buffer;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
bgfx_alloc_transform
da_bgfx_alloc_transform bgfx_alloc_transform;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
bgfx_alloc_transient_buffers
da_bgfx_alloc_transient_buffers bgfx_alloc_transient_buffers;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
bgfx_alloc_transient_index_buffer
da_bgfx_alloc_transient_index_buffer bgfx_alloc_transient_index_buffer;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
bgfx_alloc_transient_vertex_buffer
da_bgfx_alloc_transient_vertex_buffer bgfx_alloc_transient_vertex_buffer;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
bgfx_attachment_init
da_bgfx_attachment_init bgfx_attachment_init;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
bgfx_blit
da_bgfx_blit bgfx_blit;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
bgfx_calc_texture_size
da_bgfx_calc_texture_size bgfx_calc_texture_size;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
bgfx_copy
da_bgfx_copy bgfx_copy;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
bgfx_create_compute_program
da_bgfx_create_compute_program bgfx_create_compute_program;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
bgfx_create_dynamic_index_buffer
da_bgfx_create_dynamic_index_buffer bgfx_create_dynamic_index_buffer;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
bgfx_create_dynamic_index_buffer_mem
da_bgfx_create_dynamic_index_buffer_mem bgfx_create_dynamic_index_buffer_mem;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
bgfx_create_dynamic_vertex_buffer
da_bgfx_create_dynamic_vertex_buffer bgfx_create_dynamic_vertex_buffer;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
bgfx_create_dynamic_vertex_buffer_mem
da_bgfx_create_dynamic_vertex_buffer_mem bgfx_create_dynamic_vertex_buffer_mem;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
bgfx_create_frame_buffer
da_bgfx_create_frame_buffer bgfx_create_frame_buffer;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
bgfx_create_frame_buffer_from_attachment
da_bgfx_create_frame_buffer_from_attachment bgfx_create_frame_buffer_from_attachment;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
bgfx_create_frame_buffer_from_handles
da_bgfx_create_frame_buffer_from_handles bgfx_create_frame_buffer_from_handles;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
bgfx_create_frame_buffer_from_nwh
da_bgfx_create_frame_buffer_from_nwh bgfx_create_frame_buffer_from_nwh;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
bgfx_create_frame_buffer_scaled
da_bgfx_create_frame_buffer_scaled bgfx_create_frame_buffer_scaled;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
bgfx_create_index_buffer
da_bgfx_create_index_buffer bgfx_create_index_buffer;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
bgfx_create_indirect_buffer
da_bgfx_create_indirect_buffer bgfx_create_indirect_buffer;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
bgfx_create_occlusion_query
da_bgfx_create_occlusion_query bgfx_create_occlusion_query;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
bgfx_create_program
da_bgfx_create_program bgfx_create_program;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
bgfx_create_shader
da_bgfx_create_shader bgfx_create_shader;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
bgfx_create_texture
da_bgfx_create_texture bgfx_create_texture;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
bgfx_create_texture_2d
da_bgfx_create_texture_2d bgfx_create_texture_2d;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
bgfx_create_texture_2d_scaled
da_bgfx_create_texture_2d_scaled bgfx_create_texture_2d_scaled;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
bgfx_create_texture_3d
da_bgfx_create_texture_3d bgfx_create_texture_3d;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
bgfx_create_texture_cube
da_bgfx_create_texture_cube bgfx_create_texture_cube;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
bgfx_create_uniform
da_bgfx_create_uniform bgfx_create_uniform;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
bgfx_create_vertex_buffer
da_bgfx_create_vertex_buffer bgfx_create_vertex_buffer;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
bgfx_create_vertex_layout
da_bgfx_create_vertex_layout bgfx_create_vertex_layout;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
bgfx_dbg_text_clear
da_bgfx_dbg_text_clear bgfx_dbg_text_clear;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
bgfx_dbg_text_image
da_bgfx_dbg_text_image bgfx_dbg_text_image;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
bgfx_dbg_text_printf
da_bgfx_dbg_text_printf bgfx_dbg_text_printf;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
bgfx_dbg_text_vprintf
da_bgfx_dbg_text_vprintf bgfx_dbg_text_vprintf;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
bgfx_destroy_dynamic_index_buffer
da_bgfx_destroy_dynamic_index_buffer bgfx_destroy_dynamic_index_buffer;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
bgfx_destroy_dynamic_vertex_buffer
da_bgfx_destroy_dynamic_vertex_buffer bgfx_destroy_dynamic_vertex_buffer;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
bgfx_destroy_frame_buffer
da_bgfx_destroy_frame_buffer bgfx_destroy_frame_buffer;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
bgfx_destroy_index_buffer
da_bgfx_destroy_index_buffer bgfx_destroy_index_buffer;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
bgfx_destroy_indirect_buffer
da_bgfx_destroy_indirect_buffer bgfx_destroy_indirect_buffer;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
bgfx_destroy_occlusion_query
da_bgfx_destroy_occlusion_query bgfx_destroy_occlusion_query;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
bgfx_destroy_program
da_bgfx_destroy_program bgfx_destroy_program;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
bgfx_destroy_shader
da_bgfx_destroy_shader bgfx_destroy_shader;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
bgfx_destroy_texture
da_bgfx_destroy_texture bgfx_destroy_texture;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
bgfx_destroy_uniform
da_bgfx_destroy_uniform bgfx_destroy_uniform;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
bgfx_destroy_vertex_buffer
da_bgfx_destroy_vertex_buffer bgfx_destroy_vertex_buffer;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
bgfx_destroy_vertex_layout
da_bgfx_destroy_vertex_layout bgfx_destroy_vertex_layout;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
bgfx_discard
da_bgfx_discard bgfx_discard;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
bgfx_dispatch
da_bgfx_dispatch bgfx_dispatch;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
bgfx_dispatch_indirect
da_bgfx_dispatch_indirect bgfx_dispatch_indirect;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
bgfx_encoder_alloc_transform
da_bgfx_encoder_alloc_transform bgfx_encoder_alloc_transform;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
bgfx_encoder_begin
da_bgfx_encoder_begin bgfx_encoder_begin;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
bgfx_encoder_blit
da_bgfx_encoder_blit bgfx_encoder_blit;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
bgfx_encoder_discard
da_bgfx_encoder_discard bgfx_encoder_discard;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
bgfx_encoder_dispatch
da_bgfx_encoder_dispatch bgfx_encoder_dispatch;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
bgfx_encoder_dispatch_indirect
da_bgfx_encoder_dispatch_indirect bgfx_encoder_dispatch_indirect;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
bgfx_encoder_end
da_bgfx_encoder_end bgfx_encoder_end;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
bgfx_encoder_set_compute_dynamic_index_buffer
da_bgfx_encoder_set_compute_dynamic_index_buffer bgfx_encoder_set_compute_dynamic_index_buffer;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
bgfx_encoder_set_compute_dynamic_vertex_buffer
da_bgfx_encoder_set_compute_dynamic_vertex_buffer bgfx_encoder_set_compute_dynamic_vertex_buffer;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
bgfx_encoder_set_compute_index_buffer
da_bgfx_encoder_set_compute_index_buffer bgfx_encoder_set_compute_index_buffer;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
bgfx_encoder_set_compute_indirect_buffer
da_bgfx_encoder_set_compute_indirect_buffer bgfx_encoder_set_compute_indirect_buffer;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
bgfx_encoder_set_compute_vertex_buffer
da_bgfx_encoder_set_compute_vertex_buffer bgfx_encoder_set_compute_vertex_buffer;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
bgfx_encoder_set_condition
da_bgfx_encoder_set_condition bgfx_encoder_set_condition;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
bgfx_encoder_set_dynamic_index_buffer
da_bgfx_encoder_set_dynamic_index_buffer bgfx_encoder_set_dynamic_index_buffer;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
bgfx_encoder_set_dynamic_vertex_buffer
da_bgfx_encoder_set_dynamic_vertex_buffer bgfx_encoder_set_dynamic_vertex_buffer;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
bgfx_encoder_set_dynamic_vertex_buffer_with_layout
da_bgfx_encoder_set_dynamic_vertex_buffer_with_layout bgfx_encoder_set_dynamic_vertex_buffer_with_layout;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
bgfx_encoder_set_image
da_bgfx_encoder_set_image bgfx_encoder_set_image;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
bgfx_encoder_set_index_buffer
da_bgfx_encoder_set_index_buffer bgfx_encoder_set_index_buffer;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
bgfx_encoder_set_instance_count
da_bgfx_encoder_set_instance_count bgfx_encoder_set_instance_count;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
bgfx_encoder_set_instance_data_buffer
da_bgfx_encoder_set_instance_data_buffer bgfx_encoder_set_instance_data_buffer;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
bgfx_encoder_set_instance_data_from_dynamic_vertex_buffer
da_bgfx_encoder_set_instance_data_from_dynamic_vertex_buffer bgfx_encoder_set_instance_data_from_dynamic_vertex_buffer;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
bgfx_encoder_set_instance_data_from_vertex_buffer
da_bgfx_encoder_set_instance_data_from_vertex_buffer bgfx_encoder_set_instance_data_from_vertex_buffer;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
bgfx_encoder_set_marker
da_bgfx_encoder_set_marker bgfx_encoder_set_marker;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
bgfx_encoder_set_scissor
da_bgfx_encoder_set_scissor bgfx_encoder_set_scissor;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
bgfx_encoder_set_scissor_cached
da_bgfx_encoder_set_scissor_cached bgfx_encoder_set_scissor_cached;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
bgfx_encoder_set_state
da_bgfx_encoder_set_state bgfx_encoder_set_state;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
bgfx_encoder_set_stencil
da_bgfx_encoder_set_stencil bgfx_encoder_set_stencil;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
bgfx_encoder_set_texture
da_bgfx_encoder_set_texture bgfx_encoder_set_texture;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
bgfx_encoder_set_transform
da_bgfx_encoder_set_transform bgfx_encoder_set_transform;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
bgfx_encoder_set_transform_cached
da_bgfx_encoder_set_transform_cached bgfx_encoder_set_transform_cached;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
bgfx_encoder_set_transient_index_buffer
da_bgfx_encoder_set_transient_index_buffer bgfx_encoder_set_transient_index_buffer;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
bgfx_encoder_set_transient_vertex_buffer
da_bgfx_encoder_set_transient_vertex_buffer bgfx_encoder_set_transient_vertex_buffer;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
bgfx_encoder_set_transient_vertex_buffer_with_layout
da_bgfx_encoder_set_transient_vertex_buffer_with_layout bgfx_encoder_set_transient_vertex_buffer_with_layout;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
bgfx_encoder_set_uniform
da_bgfx_encoder_set_uniform bgfx_encoder_set_uniform;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
bgfx_encoder_set_vertex_buffer
da_bgfx_encoder_set_vertex_buffer bgfx_encoder_set_vertex_buffer;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
bgfx_encoder_set_vertex_buffer_with_layout
da_bgfx_encoder_set_vertex_buffer_with_layout bgfx_encoder_set_vertex_buffer_with_layout;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
bgfx_encoder_set_vertex_count
da_bgfx_encoder_set_vertex_count bgfx_encoder_set_vertex_count;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
bgfx_encoder_submit
da_bgfx_encoder_submit bgfx_encoder_submit;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
bgfx_encoder_submit_indirect
da_bgfx_encoder_submit_indirect bgfx_encoder_submit_indirect;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
bgfx_encoder_submit_occlusion_query
da_bgfx_encoder_submit_occlusion_query bgfx_encoder_submit_occlusion_query;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
bgfx_encoder_touch
da_bgfx_encoder_touch bgfx_encoder_touch;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
bgfx_frame
da_bgfx_frame bgfx_frame;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
bgfx_get_avail_instance_data_buffer
da_bgfx_get_avail_instance_data_buffer bgfx_get_avail_instance_data_buffer;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
bgfx_get_avail_transient_index_buffer
da_bgfx_get_avail_transient_index_buffer bgfx_get_avail_transient_index_buffer;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
bgfx_get_avail_transient_vertex_buffer
da_bgfx_get_avail_transient_vertex_buffer bgfx_get_avail_transient_vertex_buffer;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
bgfx_get_caps
da_bgfx_get_caps bgfx_get_caps;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
bgfx_get_direct_access_ptr
da_bgfx_get_direct_access_ptr bgfx_get_direct_access_ptr;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
bgfx_get_internal_data
da_bgfx_get_internal_data bgfx_get_internal_data;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
bgfx_get_renderer_name
da_bgfx_get_renderer_name bgfx_get_renderer_name;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
bgfx_get_renderer_type
da_bgfx_get_renderer_type bgfx_get_renderer_type;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
bgfx_get_result
da_bgfx_get_result bgfx_get_result;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
bgfx_get_shader_uniforms
da_bgfx_get_shader_uniforms bgfx_get_shader_uniforms;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
bgfx_get_stats
da_bgfx_get_stats bgfx_get_stats;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
bgfx_get_supported_renderers
da_bgfx_get_supported_renderers bgfx_get_supported_renderers;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
bgfx_get_texture
da_bgfx_get_texture bgfx_get_texture;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
bgfx_get_uniform_info
da_bgfx_get_uniform_info bgfx_get_uniform_info;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
bgfx_init
da_bgfx_init bgfx_init;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
bgfx_init_ctor
da_bgfx_init_ctor bgfx_init_ctor;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
bgfx_is_frame_buffer_valid
da_bgfx_is_frame_buffer_valid bgfx_is_frame_buffer_valid;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
bgfx_is_texture_valid
da_bgfx_is_texture_valid bgfx_is_texture_valid;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
bgfx_make_ref
da_bgfx_make_ref bgfx_make_ref;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
bgfx_make_ref_release
da_bgfx_make_ref_release bgfx_make_ref_release;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
bgfx_override_internal_texture
da_bgfx_override_internal_texture bgfx_override_internal_texture;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
bgfx_override_internal_texture_ptr
da_bgfx_override_internal_texture_ptr bgfx_override_internal_texture_ptr;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
bgfx_read_texture
da_bgfx_read_texture bgfx_read_texture;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
bgfx_render_frame
da_bgfx_render_frame bgfx_render_frame;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
bgfx_request_screen_shot
da_bgfx_request_screen_shot bgfx_request_screen_shot;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
bgfx_reset
da_bgfx_reset bgfx_reset;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
bgfx_reset_view
da_bgfx_reset_view bgfx_reset_view;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
bgfx_set_compute_dynamic_index_buffer
da_bgfx_set_compute_dynamic_index_buffer bgfx_set_compute_dynamic_index_buffer;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
bgfx_set_compute_dynamic_vertex_buffer
da_bgfx_set_compute_dynamic_vertex_buffer bgfx_set_compute_dynamic_vertex_buffer;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
bgfx_set_compute_index_buffer
da_bgfx_set_compute_index_buffer bgfx_set_compute_index_buffer;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
bgfx_set_compute_indirect_buffer
da_bgfx_set_compute_indirect_buffer bgfx_set_compute_indirect_buffer;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
bgfx_set_compute_vertex_buffer
da_bgfx_set_compute_vertex_buffer bgfx_set_compute_vertex_buffer;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
bgfx_set_condition
da_bgfx_set_condition bgfx_set_condition;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
bgfx_set_debug
da_bgfx_set_debug bgfx_set_debug;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
bgfx_set_dynamic_index_buffer
da_bgfx_set_dynamic_index_buffer bgfx_set_dynamic_index_buffer;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
bgfx_set_dynamic_vertex_buffer
da_bgfx_set_dynamic_vertex_buffer bgfx_set_dynamic_vertex_buffer;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
bgfx_set_dynamic_vertex_buffer_with_layout
da_bgfx_set_dynamic_vertex_buffer_with_layout bgfx_set_dynamic_vertex_buffer_with_layout;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
bgfx_set_frame_buffer_name
da_bgfx_set_frame_buffer_name bgfx_set_frame_buffer_name;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
bgfx_set_image
da_bgfx_set_image bgfx_set_image;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
bgfx_set_index_buffer
da_bgfx_set_index_buffer bgfx_set_index_buffer;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
bgfx_set_index_buffer_name
da_bgfx_set_index_buffer_name bgfx_set_index_buffer_name;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
bgfx_set_instance_count
da_bgfx_set_instance_count bgfx_set_instance_count;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
bgfx_set_instance_data_buffer
da_bgfx_set_instance_data_buffer bgfx_set_instance_data_buffer;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
bgfx_set_instance_data_from_dynamic_vertex_buffer
da_bgfx_set_instance_data_from_dynamic_vertex_buffer bgfx_set_instance_data_from_dynamic_vertex_buffer;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
bgfx_set_instance_data_from_vertex_buffer
da_bgfx_set_instance_data_from_vertex_buffer bgfx_set_instance_data_from_vertex_buffer;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
bgfx_set_marker
da_bgfx_set_marker bgfx_set_marker;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
bgfx_set_palette_color
da_bgfx_set_palette_color bgfx_set_palette_color;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
bgfx_set_palette_color_rgba8
da_bgfx_set_palette_color_rgba8 bgfx_set_palette_color_rgba8;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
bgfx_set_platform_data
da_bgfx_set_platform_data bgfx_set_platform_data;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
bgfx_set_scissor
da_bgfx_set_scissor bgfx_set_scissor;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
bgfx_set_scissor_cached
da_bgfx_set_scissor_cached bgfx_set_scissor_cached;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
bgfx_set_shader_name
da_bgfx_set_shader_name bgfx_set_shader_name;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
bgfx_set_state
da_bgfx_set_state bgfx_set_state;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
bgfx_set_stencil
da_bgfx_set_stencil bgfx_set_stencil;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
bgfx_set_texture
da_bgfx_set_texture bgfx_set_texture;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
bgfx_set_texture_name
da_bgfx_set_texture_name bgfx_set_texture_name;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
bgfx_set_transform
da_bgfx_set_transform bgfx_set_transform;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
bgfx_set_transform_cached
da_bgfx_set_transform_cached bgfx_set_transform_cached;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
bgfx_set_transient_index_buffer
da_bgfx_set_transient_index_buffer bgfx_set_transient_index_buffer;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
bgfx_set_transient_vertex_buffer
da_bgfx_set_transient_vertex_buffer bgfx_set_transient_vertex_buffer;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
bgfx_set_transient_vertex_buffer_with_layout
da_bgfx_set_transient_vertex_buffer_with_layout bgfx_set_transient_vertex_buffer_with_layout;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
bgfx_set_uniform
da_bgfx_set_uniform bgfx_set_uniform;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
bgfx_set_vertex_buffer
da_bgfx_set_vertex_buffer bgfx_set_vertex_buffer;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
bgfx_set_vertex_buffer_name
da_bgfx_set_vertex_buffer_name bgfx_set_vertex_buffer_name;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
bgfx_set_vertex_buffer_with_layout
da_bgfx_set_vertex_buffer_with_layout bgfx_set_vertex_buffer_with_layout;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
bgfx_set_vertex_count
da_bgfx_set_vertex_count bgfx_set_vertex_count;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
bgfx_set_view_clear
da_bgfx_set_view_clear bgfx_set_view_clear;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
bgfx_set_view_clear_mrt
da_bgfx_set_view_clear_mrt bgfx_set_view_clear_mrt;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
bgfx_set_view_frame_buffer
da_bgfx_set_view_frame_buffer bgfx_set_view_frame_buffer;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
bgfx_set_view_mode
da_bgfx_set_view_mode bgfx_set_view_mode;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
bgfx_set_view_name
da_bgfx_set_view_name bgfx_set_view_name;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
bgfx_set_view_order
da_bgfx_set_view_order bgfx_set_view_order;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
bgfx_set_view_rect
da_bgfx_set_view_rect bgfx_set_view_rect;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
bgfx_set_view_rect_ratio
da_bgfx_set_view_rect_ratio bgfx_set_view_rect_ratio;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
bgfx_set_view_scissor
da_bgfx_set_view_scissor bgfx_set_view_scissor;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
bgfx_set_view_transform
da_bgfx_set_view_transform bgfx_set_view_transform;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
bgfx_shutdown
da_bgfx_shutdown bgfx_shutdown;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
bgfx_submit
da_bgfx_submit bgfx_submit;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
bgfx_submit_indirect
da_bgfx_submit_indirect bgfx_submit_indirect;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
bgfx_submit_occlusion_query
da_bgfx_submit_occlusion_query bgfx_submit_occlusion_query;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
bgfx_topology_convert
da_bgfx_topology_convert bgfx_topology_convert;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
bgfx_topology_sort_tri_list
da_bgfx_topology_sort_tri_list bgfx_topology_sort_tri_list;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
bgfx_touch
da_bgfx_touch bgfx_touch;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
bgfx_update_dynamic_index_buffer
da_bgfx_update_dynamic_index_buffer bgfx_update_dynamic_index_buffer;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
bgfx_update_dynamic_vertex_buffer
da_bgfx_update_dynamic_vertex_buffer bgfx_update_dynamic_vertex_buffer;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
bgfx_update_texture_2d
da_bgfx_update_texture_2d bgfx_update_texture_2d;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
bgfx_update_texture_3d
da_bgfx_update_texture_3d bgfx_update_texture_3d;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
bgfx_update_texture_cube
da_bgfx_update_texture_cube bgfx_update_texture_cube;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
bgfx_vertex_convert
da_bgfx_vertex_convert bgfx_vertex_convert;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
bgfx_vertex_layout_add
da_bgfx_vertex_layout_add bgfx_vertex_layout_add;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
bgfx_vertex_layout_begin
da_bgfx_vertex_layout_begin bgfx_vertex_layout_begin;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
bgfx_vertex_layout_decode
da_bgfx_vertex_layout_decode bgfx_vertex_layout_decode;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
bgfx_vertex_layout_end
da_bgfx_vertex_layout_end bgfx_vertex_layout_end;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
bgfx_vertex_layout_has
da_bgfx_vertex_layout_has bgfx_vertex_layout_has;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
bgfx_vertex_layout_skip
da_bgfx_vertex_layout_skip bgfx_vertex_layout_skip;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
bgfx_vertex_pack
da_bgfx_vertex_pack bgfx_vertex_pack;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
bgfx_vertex_unpack
da_bgfx_vertex_unpack bgfx_vertex_unpack;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
bgfx_weld_vertices
da_bgfx_weld_vertices bgfx_weld_vertices;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.

Meta