BgfxDispatch(UInt16, Program, Int32, Int32, Int32, DiscardFlags) Method |
Dispatches a compute job.
Namespace: Internal.SharpBgfxAssembly: NeoAxis.Core (in NeoAxis.Core.dll) Version: 2026.1.1.0 (2026.1.1.0)
Syntaxpublic static void Dispatch(
ushort id,
Program program,
int xCount,
int yCount,
int zCount,
DiscardFlags flags
)
Parameters
- id UInt16
- The index of the view to dispatch.
- program Program
- The shader program to use.
- xCount Int32
- The size of the job in the first dimension.
- yCount Int32
- The size of the job in the second dimension.
- zCount Int32
- The size of the job in the third dimension.
- flags DiscardFlags
- Which states to discard for next draw.
See Also