bgfx_read_texture

Read back texture content. Attention: Texture must be created with BGFX_TEXTURE_READ_BACK flag. Attention: Availability depends on: BGFX_CAPS_TEXTURE_READ_BACK.

  1. uint bgfx_read_texture(bgfx_texture_handle_t _handle, void* _data, byte _mip)
    version(BindBgfx_Static)
    extern (C) @nogc nothrow
    uint
    bgfx_read_texture
  2. da_bgfx_read_texture bgfx_read_texture;

Parameters

_handle bgfx_texture_handle_t

Texture handle.

_data void*

Destination buffer.

_mip byte

Mip level.

Meta