pub unsafe extern "C" fn bgfx_create_frame_buffer(
    _width: u16,
    _height: u16,
    _format: bgfx_texture_format_t,
    _textureFlags: u64
) -> bgfx_frame_buffer_handle_t
Expand description

Create frame buffer (simple).

@param[in] _width Texture width. @param[in] _height Texture height. @param[in] _format Texture format. See: TextureFormat::Enum. @param[in] _textureFlags Texture creation (see BGFX_TEXTURE_*.), and sampler (see BGFX_SAMPLER_*) flags. Default texture sampling mode is linear, and wrap mode is repeat.

  • BGFX_SAMPLER_[U/V/W]_[MIRROR/CLAMP] - Mirror or clamp to edge wrap mode.
  • BGFX_SAMPLER_[MIN/MAG/MIP]_[POINT/ANISOTROPIC] - Point or anisotropic sampling.

@returns Frame buffer handle.