diff --git a/bgfx.html b/bgfx.html index eb27d64c7..0027dee56 100644 --- a/bgfx.html +++ b/bgfx.html @@ -201,7 +201,7 @@

Initialization and Shutdown

-bool bgfx::init(RendererType::Enum _type = RendererType::Count, uint16_t _vendorId = BGFX_PCI_ID_NONE, uint16_t _deviceId = 0, CallbackI *_callback = NULL, bx::AllocatorI *_reallocator = NULL)
+bool bgfx::init(RendererType::Enum _type = RendererType::Count, uint16_t _vendorId = BGFX_PCI_ID_NONE, uint16_t _deviceId = 0, CallbackI *_callback = NULL, bx::AllocatorI *_allocator = NULL)

Initialize bgfx library.

Return
@@ -225,7 +225,7 @@
  • _callback -

    Provide application specific callback interface. See: bgfx::CallbackI

  • -
  • _reallocator -

    Custom allocator. When custom allocator is not specified, library uses default CRT allocator. The library assumes custom allocator is thread safe.

    +
  • _allocator -

    Custom allocator. When custom allocator is not specified, library uses default CRT allocator. The library assumes custom allocator is thread safe.

  • @@ -1246,6 +1246,11 @@
    const Stats *bgfx::getStats()

    Returns performance counters.

    +

    +
    Attention
    +
    C99 equivalent is bgfx_get_stats.
    +
    +

    @@ -1444,7 +1449,7 @@ creating windows.

    Return
    Current renderer state. See: bgfx::RenderFrame.
    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.
    +
    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.

    @@ -1466,7 +1471,7 @@ creating windows.

    Set platform data.

    Warning
    -
    Must be called before bgfx::init.
    +
    Must be called before bgfx::init.
    Attention
    C99 equivalent is bgfx_set_platform_data.
    @@ -1514,6 +1519,12 @@ creating windows.

    Backbuffer depth/stencil.

    +
    +
    +void *session
    +

    ovrSession, for Oculus SDK

    +
    + @@ -2868,7 +2879,7 @@ otherwise prefer bgfx::setViewScissor.

    Return
    Number of draw calls.
    Attention
    -
    C99 equivalent is `bgfx_submit_occlusion_query.
    +
    C99 equivalent is bgfx_submit_occlusion_query.
    Parameters