pub unsafe extern "C" fn bgfx_render_frame(
    _msecs: i32
) -> bgfx_render_frame_t
Expand description

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.

@param[in] _msecs Timeout in milliseconds.

@returns Current renderer context state. See: bgfx::RenderFrame.