Click or drag to resize

EncoderSubmit Method (UInt16, Program, Int32, DiscardFlags)

Submits the current batch of primitives for rendering.

Namespace:  Internal.SharpBgfx
Assembly:  NeoAxis.Core (in NeoAxis.Core.dll) Version: 2024.1.1.0 (2024.1.1.0)
Syntax
C#
public int Submit(
	ushort id,
	Program program,
	int depth,
	DiscardFlags flags
)

Parameters

id
Type: SystemUInt16
The index of the view to submit.
program
Type: Internal.SharpBgfxProgram
The program with which to render.
depth
Type: SystemInt32
A depth value to use for sorting the batch.
flags
Type: Internal.SharpBgfxDiscardFlags

Return Value

Type: Int32
The number of draw calls.
See Also