Function bgfx_sys::bgfx_create_frame_buffer_from_nwh
source · pub unsafe extern "C" fn bgfx_create_frame_buffer_from_nwh(
_nwh: *mut c_void,
_width: u16,
_height: u16,
_format: bgfx_texture_format_t,
_depthFormat: bgfx_texture_format_t
) -> bgfx_frame_buffer_handle_t
Expand description
Create frame buffer for multiple window rendering.
@remarks
Frame buffer cannot be used for sampling.
@attention Availability depends on: BGFX_CAPS_SWAP_CHAIN
.
@param[in] _nwh OS’ target native window handle. @param[in] _width Window back buffer width. @param[in] _height Window back buffer height. @param[in] _format Window back buffer color format. @param[in] _depthFormat Window back buffer depth format.
@returns Frame buffer handle.