bgfx_get_result

Retrieve occlusion query result from previous frame.

  1. bgfx_occlusion_query_result_t bgfx_get_result(bgfx_occlusion_query_handle_t _handle, int* _result)
    version(BindBgfx_Static)
    extern (C) @nogc nothrow
    bgfx_get_result
  2. da_bgfx_get_result bgfx_get_result;

Parameters

_handle bgfx_occlusion_query_handle_t

Handle to occlusion query object.

_result int*

Number of pixels that passed test. This argument can be NULL if result of occlusion query is not needed.

Meta