bgfx_set_view_frame_buffer

Set view frame buffer. Remarks: Not persistent after bgfx::reset call.

  1. void bgfx_set_view_frame_buffer(bgfx_view_id_t _id, bgfx_frame_buffer_handle_t _handle)
    version(BindBgfx_Static)
    extern (C) @nogc nothrow
    void
    bgfx_set_view_frame_buffer
  2. da_bgfx_set_view_frame_buffer bgfx_set_view_frame_buffer;

Parameters

_id bgfx_view_id_t

View id.

_handle bgfx_frame_buffer_handle_t

Frame buffer handle. Passing BGFX_INVALID_HANDLE as frame buffer handle will draw primitives from this view into default back buffer.

Meta