bgfx_render_frame

Render frame. Attention: bgfx::renderFrame is blocking call. It waits for bgfx::frame to be called from API thread to process frame. If timeout value is passed call will timeout and return even if bgfx::frame is not called. Warning: This call should be only used on platforms that don't allow creating separate rendering thread. If it is called before to bgfx::init, render thread won't be created by bgfx::init call.

  1. bgfx_render_frame_t bgfx_render_frame(int _msecs)
    version(BindBgfx_Static)
    extern (C) @nogc nothrow
    bgfx_render_frame
    (
    int _msecs
    )
  2. da_bgfx_render_frame bgfx_render_frame;

Parameters

_msecs int

Timeout in milliseconds.

Meta