bgfx_attachment_init

Init attachment.

  1. void bgfx_attachment_init(bgfx_attachment_t* _this, bgfx_texture_handle_t _handle, bgfx_access_t _access, ushort _layer, ushort _numLayers, ushort _mip, byte _resolve)
    version(BindBgfx_Static)
    extern (C) @nogc nothrow
    void
    bgfx_attachment_init
  2. da_bgfx_attachment_init bgfx_attachment_init;

Parameters

_handle bgfx_texture_handle_t

Render target texture handle.

_access bgfx_access_t

Access. See Access::Enum.

_layer ushort

Cubemap side or depth layer/slice to use.

_numLayers ushort

Number of texture layer/slice(s) in array to use.

_mip ushort

Mip level.

_resolve byte

Resolve flags. See: BGFX_RESOLVE_*

Meta