Click or drag to resize

BgfxDispatch(UInt16, Program, IndirectBuffer, Int32, Int32, DiscardFlags) Method

Dispatches an indirect compute job.

Namespace: Internal.SharpBgfx
Assembly: NeoAxis.Core (in NeoAxis.Core.dll) Version: 2026.1.1.0 (2026.1.1.0)
Syntax
C#
public static void Dispatch(
	ushort id,
	Program program,
	IndirectBuffer indirectBuffer,
	int startIndex,
	int count,
	DiscardFlags flags
)

Parameters

id  UInt16
The index of the view to dispatch.
program  Program
The shader program to use.
indirectBuffer  IndirectBuffer
The buffer containing drawing commands.
startIndex  Int32
The index of the first command to process.
count  Int32
The number of commands to process from the buffer.
flags  DiscardFlags
Which states to discard for next draw.
See Also