mirror of
https://github.com/bkaradzic/bgfx.git
synced 2026-02-17 20:52:36 +01:00
Fixed docs.
This commit is contained in:
@@ -2867,7 +2867,7 @@ public static class bgfx
|
||||
/// Allocate transient index buffer.
|
||||
/// </summary>
|
||||
///
|
||||
/// <param name="_tib">TransientIndexBuffer structure is filled and is valid for the duration of frame, and it can be reused for multiple draw calls.</param>
|
||||
/// <param name="_tib">TransientIndexBuffer structure will be filled, and will be valid for the duration of frame, and can be reused for multiple draw calls.</param>
|
||||
/// <param name="_num">Number of indices to allocate.</param>
|
||||
/// <param name="_index32">Set to `true` if input indices will be 32-bit.</param>
|
||||
///
|
||||
@@ -2878,7 +2878,7 @@ public static class bgfx
|
||||
/// Allocate transient vertex buffer.
|
||||
/// </summary>
|
||||
///
|
||||
/// <param name="_tvb">TransientVertexBuffer structure is filled and is valid for the duration of frame, and it can be reused for multiple draw calls.</param>
|
||||
/// <param name="_tvb">TransientVertexBuffer structure will be filled, and will be valid for the duration of frame, and can be reused for multiple draw calls.</param>
|
||||
/// <param name="_num">Number of vertices to allocate.</param>
|
||||
/// <param name="_layout">Vertex layout.</param>
|
||||
///
|
||||
@@ -2891,10 +2891,10 @@ public static class bgfx
|
||||
/// true.
|
||||
/// </summary>
|
||||
///
|
||||
/// <param name="_tvb">TransientVertexBuffer structure is filled and is valid for the duration of frame, and it can be reused for multiple draw calls.</param>
|
||||
/// <param name="_tvb">TransientVertexBuffer structure will be filled, and will be valid for the duration of frame, and can be reused for multiple draw calls.</param>
|
||||
/// <param name="_layout">Vertex layout.</param>
|
||||
/// <param name="_numVertices">Number of vertices to allocate.</param>
|
||||
/// <param name="_tib">TransientIndexBuffer structure is filled and is valid for the duration of frame, and it can be reused for multiple draw calls.</param>
|
||||
/// <param name="_tib">TransientIndexBuffer structure will be filled, and will be valid for the duration of frame, and can be reused for multiple draw calls.</param>
|
||||
/// <param name="_numIndices">Number of indices to allocate.</param>
|
||||
/// <param name="_index32">Set to `true` if input indices will be 32-bit.</param>
|
||||
///
|
||||
@@ -2905,7 +2905,7 @@ public static class bgfx
|
||||
/// Allocate instance data buffer.
|
||||
/// </summary>
|
||||
///
|
||||
/// <param name="_idb">InstanceDataBuffer structure is filled and is valid for duration of frame, and it can be reused for multiple draw calls.</param>
|
||||
/// <param name="_idb">InstanceDataBuffer structure will be filled, and will be valid for duration of frame, and can be reused for multiple draw calls.</param>
|
||||
/// <param name="_num">Number of instances.</param>
|
||||
/// <param name="_stride">Instance stride. Must be multiple of 16.</param>
|
||||
///
|
||||
|
||||
@@ -2821,7 +2821,7 @@ public static partial class bgfx
|
||||
/// Allocate transient index buffer.
|
||||
/// </summary>
|
||||
///
|
||||
/// <param name="_tib">TransientIndexBuffer structure is filled and is valid for the duration of frame, and it can be reused for multiple draw calls.</param>
|
||||
/// <param name="_tib">TransientIndexBuffer structure will be filled, and will be valid for the duration of frame, and can be reused for multiple draw calls.</param>
|
||||
/// <param name="_num">Number of indices to allocate.</param>
|
||||
/// <param name="_index32">Set to `true` if input indices will be 32-bit.</param>
|
||||
///
|
||||
@@ -2832,7 +2832,7 @@ public static partial class bgfx
|
||||
/// Allocate transient vertex buffer.
|
||||
/// </summary>
|
||||
///
|
||||
/// <param name="_tvb">TransientVertexBuffer structure is filled and is valid for the duration of frame, and it can be reused for multiple draw calls.</param>
|
||||
/// <param name="_tvb">TransientVertexBuffer structure will be filled, and will be valid for the duration of frame, and can be reused for multiple draw calls.</param>
|
||||
/// <param name="_num">Number of vertices to allocate.</param>
|
||||
/// <param name="_layout">Vertex layout.</param>
|
||||
///
|
||||
@@ -2845,10 +2845,10 @@ public static partial class bgfx
|
||||
/// true.
|
||||
/// </summary>
|
||||
///
|
||||
/// <param name="_tvb">TransientVertexBuffer structure is filled and is valid for the duration of frame, and it can be reused for multiple draw calls.</param>
|
||||
/// <param name="_tvb">TransientVertexBuffer structure will be filled, and will be valid for the duration of frame, and can be reused for multiple draw calls.</param>
|
||||
/// <param name="_layout">Vertex layout.</param>
|
||||
/// <param name="_numVertices">Number of vertices to allocate.</param>
|
||||
/// <param name="_tib">TransientIndexBuffer structure is filled and is valid for the duration of frame, and it can be reused for multiple draw calls.</param>
|
||||
/// <param name="_tib">TransientIndexBuffer structure will be filled, and will be valid for the duration of frame, and can be reused for multiple draw calls.</param>
|
||||
/// <param name="_numIndices">Number of indices to allocate.</param>
|
||||
/// <param name="_index32">Set to `true` if input indices will be 32-bit.</param>
|
||||
///
|
||||
@@ -2860,7 +2860,7 @@ public static partial class bgfx
|
||||
/// Allocate instance data buffer.
|
||||
/// </summary>
|
||||
///
|
||||
/// <param name="_idb">InstanceDataBuffer structure is filled and is valid for duration of frame, and it can be reused for multiple draw calls.</param>
|
||||
/// <param name="_idb">InstanceDataBuffer structure will be filled, and will be valid for duration of frame, and can be reused for multiple draw calls.</param>
|
||||
/// <param name="_num">Number of instances.</param>
|
||||
/// <param name="_stride">Instance stride. Must be multiple of 16.</param>
|
||||
///
|
||||
|
||||
@@ -566,8 +566,8 @@ version(BindBgfx_Static)
|
||||
/**
|
||||
* Allocate transient index buffer.
|
||||
* Params:
|
||||
* _tib = TransientIndexBuffer structure is filled and is valid
|
||||
* for the duration of frame, and it can be reused for multiple draw
|
||||
* _tib = TransientIndexBuffer structure will be filled, and will be valid
|
||||
* for the duration of frame, and can be reused for multiple draw
|
||||
* calls.
|
||||
* _num = Number of indices to allocate.
|
||||
* _index32 = Set to `true` if input indices will be 32-bit.
|
||||
@@ -577,8 +577,8 @@ version(BindBgfx_Static)
|
||||
/**
|
||||
* Allocate transient vertex buffer.
|
||||
* Params:
|
||||
* _tvb = TransientVertexBuffer structure is filled and is valid
|
||||
* for the duration of frame, and it can be reused for multiple draw
|
||||
* _tvb = TransientVertexBuffer structure will be filled, and will be valid
|
||||
* for the duration of frame, and can be reused for multiple draw
|
||||
* calls.
|
||||
* _num = Number of vertices to allocate.
|
||||
* _layout = Vertex layout.
|
||||
@@ -590,13 +590,13 @@ version(BindBgfx_Static)
|
||||
* buffers. If both space requirements are satisfied function returns
|
||||
* true.
|
||||
* Params:
|
||||
* _tvb = TransientVertexBuffer structure is filled and is valid
|
||||
* for the duration of frame, and it can be reused for multiple draw
|
||||
* _tvb = TransientVertexBuffer structure will be filled, and will be valid
|
||||
* for the duration of frame, and can be reused for multiple draw
|
||||
* calls.
|
||||
* _layout = Vertex layout.
|
||||
* _numVertices = Number of vertices to allocate.
|
||||
* _tib = TransientIndexBuffer structure is filled and is valid
|
||||
* for the duration of frame, and it can be reused for multiple draw
|
||||
* _tib = TransientIndexBuffer structure will be filled, and will be valid
|
||||
* for the duration of frame, and can be reused for multiple draw
|
||||
* calls.
|
||||
* _numIndices = Number of indices to allocate.
|
||||
* _index32 = Set to `true` if input indices will be 32-bit.
|
||||
@@ -606,8 +606,8 @@ version(BindBgfx_Static)
|
||||
/**
|
||||
* Allocate instance data buffer.
|
||||
* Params:
|
||||
* _idb = InstanceDataBuffer structure is filled and is valid
|
||||
* for duration of frame, and it can be reused for multiple draw
|
||||
* _idb = InstanceDataBuffer structure will be filled, and will be valid
|
||||
* for duration of frame, and can be reused for multiple draw
|
||||
* calls.
|
||||
* _num = Number of instances.
|
||||
* _stride = Instance stride. Must be multiple of 16.
|
||||
@@ -2761,8 +2761,8 @@ else
|
||||
/**
|
||||
* Allocate transient index buffer.
|
||||
* Params:
|
||||
* _tib = TransientIndexBuffer structure is filled and is valid
|
||||
* for the duration of frame, and it can be reused for multiple draw
|
||||
* _tib = TransientIndexBuffer structure will be filled, and will be valid
|
||||
* for the duration of frame, and can be reused for multiple draw
|
||||
* calls.
|
||||
* _num = Number of indices to allocate.
|
||||
* _index32 = Set to `true` if input indices will be 32-bit.
|
||||
@@ -2773,8 +2773,8 @@ else
|
||||
/**
|
||||
* Allocate transient vertex buffer.
|
||||
* Params:
|
||||
* _tvb = TransientVertexBuffer structure is filled and is valid
|
||||
* for the duration of frame, and it can be reused for multiple draw
|
||||
* _tvb = TransientVertexBuffer structure will be filled, and will be valid
|
||||
* for the duration of frame, and can be reused for multiple draw
|
||||
* calls.
|
||||
* _num = Number of vertices to allocate.
|
||||
* _layout = Vertex layout.
|
||||
@@ -2787,13 +2787,13 @@ else
|
||||
* buffers. If both space requirements are satisfied function returns
|
||||
* true.
|
||||
* Params:
|
||||
* _tvb = TransientVertexBuffer structure is filled and is valid
|
||||
* for the duration of frame, and it can be reused for multiple draw
|
||||
* _tvb = TransientVertexBuffer structure will be filled, and will be valid
|
||||
* for the duration of frame, and can be reused for multiple draw
|
||||
* calls.
|
||||
* _layout = Vertex layout.
|
||||
* _numVertices = Number of vertices to allocate.
|
||||
* _tib = TransientIndexBuffer structure is filled and is valid
|
||||
* for the duration of frame, and it can be reused for multiple draw
|
||||
* _tib = TransientIndexBuffer structure will be filled, and will be valid
|
||||
* for the duration of frame, and can be reused for multiple draw
|
||||
* calls.
|
||||
* _numIndices = Number of indices to allocate.
|
||||
* _index32 = Set to `true` if input indices will be 32-bit.
|
||||
@@ -2804,8 +2804,8 @@ else
|
||||
/**
|
||||
* Allocate instance data buffer.
|
||||
* Params:
|
||||
* _idb = InstanceDataBuffer structure is filled and is valid
|
||||
* for duration of frame, and it can be reused for multiple draw
|
||||
* _idb = InstanceDataBuffer structure will be filled, and will be valid
|
||||
* for duration of frame, and can be reused for multiple draw
|
||||
* calls.
|
||||
* _num = Number of instances.
|
||||
* _stride = Instance stride. Must be multiple of 16.
|
||||
|
||||
@@ -2283,7 +2283,7 @@ pub inline fn getAvailInstanceDataBuffer(_num: u32, _stride: u16) u32 {
|
||||
extern fn bgfx_get_avail_instance_data_buffer(_num: u32, _stride: u16) u32;
|
||||
|
||||
/// Allocate transient index buffer.
|
||||
/// <param name="_tib">TransientIndexBuffer structure is filled and is valid for the duration of frame, and it can be reused for multiple draw calls.</param>
|
||||
/// <param name="_tib">TransientIndexBuffer structure will be filled, and will be valid for the duration of frame, and can be reused for multiple draw calls.</param>
|
||||
/// <param name="_num">Number of indices to allocate.</param>
|
||||
/// <param name="_index32">Set to `true` if input indices will be 32-bit.</param>
|
||||
pub inline fn allocTransientIndexBuffer(_tib: [*c]TransientIndexBuffer, _num: u32, _index32: bool) void {
|
||||
@@ -2292,7 +2292,7 @@ pub inline fn allocTransientIndexBuffer(_tib: [*c]TransientIndexBuffer, _num: u3
|
||||
extern fn bgfx_alloc_transient_index_buffer(_tib: [*c]TransientIndexBuffer, _num: u32, _index32: bool) void;
|
||||
|
||||
/// Allocate transient vertex buffer.
|
||||
/// <param name="_tvb">TransientVertexBuffer structure is filled and is valid for the duration of frame, and it can be reused for multiple draw calls.</param>
|
||||
/// <param name="_tvb">TransientVertexBuffer structure will be filled, and will be valid for the duration of frame, and can be reused for multiple draw calls.</param>
|
||||
/// <param name="_num">Number of vertices to allocate.</param>
|
||||
/// <param name="_layout">Vertex layout.</param>
|
||||
pub inline fn allocTransientVertexBuffer(_tvb: [*c]TransientVertexBuffer, _num: u32, _layout: [*c]const VertexLayout) void {
|
||||
@@ -2303,10 +2303,10 @@ extern fn bgfx_alloc_transient_vertex_buffer(_tvb: [*c]TransientVertexBuffer, _n
|
||||
/// Check for required space and allocate transient vertex and index
|
||||
/// buffers. If both space requirements are satisfied function returns
|
||||
/// true.
|
||||
/// <param name="_tvb">TransientVertexBuffer structure is filled and is valid for the duration of frame, and it can be reused for multiple draw calls.</param>
|
||||
/// <param name="_tvb">TransientVertexBuffer structure will be filled, and will be valid for the duration of frame, and can be reused for multiple draw calls.</param>
|
||||
/// <param name="_layout">Vertex layout.</param>
|
||||
/// <param name="_numVertices">Number of vertices to allocate.</param>
|
||||
/// <param name="_tib">TransientIndexBuffer structure is filled and is valid for the duration of frame, and it can be reused for multiple draw calls.</param>
|
||||
/// <param name="_tib">TransientIndexBuffer structure will be filled, and will be valid for the duration of frame, and can be reused for multiple draw calls.</param>
|
||||
/// <param name="_numIndices">Number of indices to allocate.</param>
|
||||
/// <param name="_index32">Set to `true` if input indices will be 32-bit.</param>
|
||||
pub inline fn allocTransientBuffers(_tvb: [*c]TransientVertexBuffer, _layout: [*c]const VertexLayout, _numVertices: u32, _tib: [*c]TransientIndexBuffer, _numIndices: u32, _index32: bool) bool {
|
||||
@@ -2315,7 +2315,7 @@ pub inline fn allocTransientBuffers(_tvb: [*c]TransientVertexBuffer, _layout: [*
|
||||
extern fn bgfx_alloc_transient_buffers(_tvb: [*c]TransientVertexBuffer, _layout: [*c]const VertexLayout, _numVertices: u32, _tib: [*c]TransientIndexBuffer, _numIndices: u32, _index32: bool) bool;
|
||||
|
||||
/// Allocate instance data buffer.
|
||||
/// <param name="_idb">InstanceDataBuffer structure is filled and is valid for duration of frame, and it can be reused for multiple draw calls.</param>
|
||||
/// <param name="_idb">InstanceDataBuffer structure will be filled, and will be valid for duration of frame, and can be reused for multiple draw calls.</param>
|
||||
/// <param name="_num">Number of instances.</param>
|
||||
/// <param name="_stride">Instance stride. Must be multiple of 16.</param>
|
||||
pub inline fn allocInstanceDataBuffer(_idb: [*c]InstanceDataBuffer, _num: u32, _stride: u16) void {
|
||||
|
||||
Reference in New Issue
Block a user