bgfx_encoder_submit_occlusion_query

Submit primitive with occlusion query for rendering.

  1. void bgfx_encoder_submit_occlusion_query(bgfx_encoder_t* _this, bgfx_view_id_t _id, bgfx_program_handle_t _program, bgfx_occlusion_query_handle_t _occlusionQuery, uint _depth, byte _flags)
    version(BindBgfx_Static)
    extern (C) @nogc nothrow
    void
    bgfx_encoder_submit_occlusion_query
  2. da_bgfx_encoder_submit_occlusion_query bgfx_encoder_submit_occlusion_query;

Parameters

_id bgfx_view_id_t

View id.

_program bgfx_program_handle_t

Program.

_occlusionQuery bgfx_occlusion_query_handle_t

Occlusion query.

_depth uint

Depth for sorting.

_flags byte

Discard or preserve states. See BGFX_DISCARD_*.

Meta