bgfx_create_frame_buffer

Create frame buffer (simple).

  1. bgfx_frame_buffer_handle_t bgfx_create_frame_buffer(ushort _width, ushort _height, bgfx_texture_format_t _format, ulong _textureFlags)
    version(BindBgfx_Static)
    extern (C) @nogc nothrow
    bgfx_create_frame_buffer
  2. da_bgfx_create_frame_buffer bgfx_create_frame_buffer;

Parameters

_width ushort

Texture width.

_height ushort

Texture height.

_format bgfx_texture_format_t

Texture format. See: TextureFormat::Enum.

_textureFlags ulong

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.

Meta