bgfx_create_frame_buffer_from_attachment

Create MRT frame buffer from texture handles with specific layer and mip level.

  1. bgfx_frame_buffer_handle_t bgfx_create_frame_buffer_from_attachment(byte _num, const(bgfx_attachment_t)* _attachment, bool _destroyTexture)
    version(BindBgfx_Static)
    extern (C) @nogc nothrow
    bgfx_create_frame_buffer_from_attachment
  2. da_bgfx_create_frame_buffer_from_attachment bgfx_create_frame_buffer_from_attachment;

Parameters

_num byte

Number of attachments.

_attachment const(bgfx_attachment_t)*

Attachment texture info. See: bgfx::Attachment.

_destroyTexture bool

If true, textures will be destroyed when frame buffer is destroyed.

Meta