bgfx_submit_indirect

Submit primitive for rendering with index and instance data info from indirect buffer.

  1. void bgfx_submit_indirect(bgfx_view_id_t _id, bgfx_program_handle_t _program, bgfx_indirect_buffer_handle_t _indirectHandle, ushort _start, ushort _num, uint _depth, bool _preserveState)
    version(BindBgfx_Static)
    extern (C) @nogc nothrow
    void
    bgfx_submit_indirect
  2. da_bgfx_submit_indirect bgfx_submit_indirect;

Parameters

_id bgfx_view_id_t

View id.

_program bgfx_program_handle_t

Program.

_indirectHandle bgfx_indirect_buffer_handle_t

Indirect buffer.

_start ushort

First element in indirect buffer.

_num ushort

Number of dispatches.

_depth uint

Depth for sorting.

_preserveState bool

Preserve internal draw state for next draw call submit.

Meta