From bc538e01be6f0f6a533d34a73cd3e9b05bdba458 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=D0=91=D1=80=D0=B0=D0=BD=D0=B8=D0=BC=D0=B8=D1=80=20=D0=9A?=
=?UTF-8?q?=D0=B0=D1=80=D0=B0=D1=9F=D0=B8=D1=9B?=
Dispatch compute. C99 equivalent is Dispatch compute indirect. C99 equivalent is [in] _id: View id. [in] _program: Program. [in] _depth: Depth for sorting. [in] <em>flags: Which states to discard for next draw. See BGFX_DISCARD call submit.[in] _flags: Discard or preserve states. See BGFX_DISCARD_*.[in] _program: Program. [in] _occlusionQuery: Occlusion query. [in] _depth: Depth for sorting. [in] <em>flags: Which states to discard for next draw. See BGFX_DISCARD call submit.[in] _flags: Discard or preserve states. See BGFX_DISCARD_*.[in] _start: First element in indirect buffer. [in] _num: Number of dispatches. [in] _depth: Depth for sorting. [in] <em>flags: Which states to discard for next draw. See BGFX_DISCARD call submit.[in] _flags: Discard or preserve states. See BGFX_DISCARD_*.
-
dispatch(ViewId _id, ProgramHandle _handle, uint32_t _numX = 1, uint32_t _numY = 1, uint32_t _numZ = 1)¶dispatch(ViewId _id, ProgramHandle _handle, uint32_t _numX = 1, uint32_t _numY = 1, uint32_t _numZ = 1, uint8_t _flags = BGFX_DISCARD_ALL)¶
@@ -3418,8 +3419,8 @@ known until the last moment, view ids can be remaped to arbitrary order by calli
bgfx_encoder_dispatch. [in] _handle: Compute program. [in] _numX: Number of groups X. [in] _numY: Number of groups Y. [in] _numZ: Number of groups Z.[in] _numZ: Number of groups Z. [in] _flags: Discard or preserve states. See BGFX_DISCARD_*.
-
dispatch(ViewId _id, ProgramHandle _handle, IndirectBufferHandle _indirectHandle, uint16_t _start = 0, uint16_t _num = 1)¶dispatch(ViewId _id, ProgramHandle _handle, IndirectBufferHandle _indirectHandle, uint16_t _start = 0, uint16_t _num = 1, uint8_t _flags = BGFX_DISCARD_ALL)¶
@@ -4495,7 +4497,7 @@ otherwise prefer bgfx::setViewScissor.bgfx_encoder_dispatch_indirect. [in] _handle: Compute program. [in] _indirectHandle: Indirect buffer. [in] _start: First element in indirect buffer. [in] _num: Number of dispatches.[in] _num: Number of dispatches. [in] _flags: Discard or preserve states. See BGFX_DISCARD_*.
[in] _id: View id.
[in] _program: Program.
[in] _depth: Depth for sorting.
[in] <em>flags: Which states to discard for next draw. See BGFX_DISCARD call submit.
[in] _flags: Discard or preserve states. See BGFX_DISCARD_*.
[in] _program: Program.
[in] _occlusionQuery: Occlusion query.
[in] _depth: Depth for sorting.
[in] <em>flags: Which states to discard for next draw. See BGFX_DISCARD call submit.
[in] _flags: Discard or preserve states. See BGFX_DISCARD_*.
[in] _start: First element in indirect buffer.
[in] _num: Number of dispatches.
[in] _depth: Depth for sorting.
[in] <em>flags: Which states to discard for next draw. See BGFX_DISCARD call submit.
[in] _flags: Discard or preserve states. See BGFX_DISCARD_*.
Within view all compute commands are dispatched after blit commands, and before draw commands.
-bgfx::dispatch(ViewId _id, ProgramHandle _handle, uint32_t _numX = 1, uint32_t _numY = 1, uint32_t _numZ = 1)Dispatch compute.
-C99 equivalent is bgfx_dispatch.
[in] _id: View id.
[in] _handle: Compute program.
[in] _numX: Number of groups X.
[in] _numY: Number of groups Y.
[in] _numZ: Number of groups Z.
Warning
+doxygenfunction: Unable to resolve multiple matches for function “bgfx::dispatch” with arguments (ViewId, ProgramHandle, uint32_t, uint32_t, uint32_t) in doxygen xml output for project “bgfx” from directory: ../../.build/docs/xml. +Potential matches:
- - -bgfx::dispatch(ViewId _id, ProgramHandle _handle, IndirectBufferHandle _indirectHandle, uint16_t _start = 0, uint16_t _num = 1)Dispatch compute indirect.
-C99 equivalent is bgfx_dispatch_indirect.
[in] _id: View id.
[in] _handle: Compute program.
[in] _indirectHandle: Indirect buffer.
[in] _start: First element in indirect buffer.
[in] _num: Number of dispatches.
- void bgfx::dispatch(ViewId, ProgramHandle, IndirectBufferHandle, uint16_t, uint16_t, uint8_t)
+- void bgfx::dispatch(ViewId, ProgramHandle, uint32_t, uint32_t, uint32_t, uint8_t)
+Warning
+doxygenfunction: Unable to resolve multiple matches for function “bgfx::dispatch” with arguments (ViewId, ProgramHandle, IndirectBufferHandle, uint16_t, uint16_t) in doxygen xml output for project “bgfx” from directory: ../../.build/docs/xml. +Potential matches:
- - +- void bgfx::dispatch(ViewId, ProgramHandle, IndirectBufferHandle, uint16_t, uint16_t, uint8_t)
+- void bgfx::dispatch(ViewId, ProgramHandle, uint32_t, uint32_t, uint32_t, uint8_t)
+