bgfx_encoder_touch

Submit an empty primitive for rendering. Uniforms and draw state will be applied but no geometry will be submitted. Useful in cases when no other draw/compute primitive is submitted to view, but it's desired to execute clear view. Remarks: These empty draw calls will sort before ordinary draw calls.

  1. void bgfx_encoder_touch(bgfx_encoder_t* _this, bgfx_view_id_t _id)
    version(BindBgfx_Static)
    extern (C) @nogc nothrow
    void
    bgfx_encoder_touch
  2. da_bgfx_encoder_touch bgfx_encoder_touch;

Parameters

_id bgfx_view_id_t

View id.

Meta