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