bgfx_view_mode_t

View mode sets draw call sort order.

Values

ValueMeaning
BGFX_VIEW_MODE_DEFAULT

Default sort order.

BGFX_VIEW_MODE_SEQUENTIAL

Sort in the same order in which submit calls were called.

BGFX_VIEW_MODE_DEPTHASCENDING

Sort draw call depth in ascending order.

BGFX_VIEW_MODE_DEPTHDESCENDING

Sort draw call depth in descending order.

BGFX_VIEW_MODE_COUNT

Meta