Click or drag to resize

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

Submits an indirect batch of drawing commands to be used for rendering.

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

Parameters

id  UInt16
The index of the view to submit.
program  Program
The program with which to render.
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.
depth  Int32
A depth value to use for sorting the batch.
flags  DiscardFlags
Which states to discard for next draw.
See Also