Click or drag to resize

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

Submits the current batch of primitives 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,
	OcclusionQuery query,
	int depth,
	DiscardFlags flags
)

Parameters

id  UInt16
The index of the view to submit.
program  Program
The program with which to render.
query  OcclusionQuery
An occlusion query to use as a predicate during rendering.
depth  Int32
A depth value to use for sorting the batch.
flags  DiscardFlags
Which states to discard for next draw.
See Also