bgfx_create_frame_buffer_from_nwh

Create frame buffer for multiple window rendering. Remarks: Frame buffer cannot be used for sampling. Attention: Availability depends on: BGFX_CAPS_SWAP_CHAIN.

  1. bgfx_frame_buffer_handle_t bgfx_create_frame_buffer_from_nwh(void* _nwh, ushort _width, ushort _height, bgfx_texture_format_t _format, bgfx_texture_format_t _depthFormat)
    version(BindBgfx_Static)
    extern (C) @nogc nothrow
    bgfx_create_frame_buffer_from_nwh
  2. da_bgfx_create_frame_buffer_from_nwh bgfx_create_frame_buffer_from_nwh;

Parameters

_nwh void*

OS' target native window handle.

_width ushort

Window back buffer width.

_height ushort

Window back buffer height.

_format bgfx_texture_format_t

Window back buffer color format.

_depthFormat bgfx_texture_format_t

Window back buffer depth format.

Meta