bgfx_request_screen_shot

Request screen shot of window back buffer. Remarks: bgfx::CallbackI::screenShot must be implemented. Attention: Frame buffer handle must be created with OS' target native window handle.

  1. void bgfx_request_screen_shot(bgfx_frame_buffer_handle_t _handle, const(char)* _filePath)
    version(BindBgfx_Static)
    extern (C) @nogc nothrow
    void
    bgfx_request_screen_shot
  2. da_bgfx_request_screen_shot bgfx_request_screen_shot;

Parameters

_handle bgfx_frame_buffer_handle_t

Frame buffer handle. If handle is BGFX_INVALID_HANDLE request will be made for main window back buffer.

_filePath const(char)*

Will be passed to bgfx::CallbackI::screenShot callback.

Meta