diff --git a/bgfx.html b/bgfx.html index 101b1fac4..bffb7beee 100644 --- a/bgfx.html +++ b/bgfx.html @@ -1252,6 +1252,8 @@

Returns performance counters.

Attention
+
Pointer returned is valid until bgfx::frame is called.
+
Attention
C99 equivalent is bgfx_get_stats.

@@ -2580,11 +2582,13 @@ otherwise prefer bgfx::setViewScissor.

uint32_t bgfx::allocTransform(Transform *_transform, uint16_t _num)ΒΆ
-

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

+

Reserve _num matrices in internal matrix cache.

Return
index into matrix cache.
Attention
+
Pointer returned can be modifed until bgfx::frame is called.
+
Attention
C99 equivalent is bgfx_alloc_transform.
Parameters
    @@ -3435,6 +3439,8 @@ otherwise prefer bgfx::setViewScissor.

    Make reference to data to pass to bgfx. Unlike bgfx::alloc this call doesn’t allocate memory for data. It just copies pointer to data. You can pass ReleaseFn function pointer to release this memory after it’s consumed, or 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.
    +
    Attention
    C99 equivalent are bgfx_make_ref, bgfx_make_ref_release.