Click or drag to resize

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

Dispatches an indirect compute job.

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

Parameters

id
Type: SystemUInt16
The index of the view to dispatch.
program
Type: Internal.SharpBgfxProgram
The shader program to use.
indirectBuffer
Type: Internal.SharpBgfxIndirectBuffer
The buffer containing drawing commands.
startIndex
Type: SystemInt32
The index of the first command to process.
count
Type: SystemInt32
The number of commands to process from the buffer.
flags
Type: Internal.SharpBgfxDiscardFlags
Which states to discard for next draw.
See Also