Click or drag to resize

BgfxSetViewScissor Method

Sets the scissor rectangle for a specific view.

Namespace: Internal.SharpBgfx
Assembly: NeoAxis.Core (in NeoAxis.Core.dll) Version: 2026.1.1.0 (2026.1.1.0)
Syntax
C#
public static void SetViewScissor(
	ushort id,
	int x,
	int y,
	int width,
	int height
)

Parameters

id  UInt16
The index of the view.
x  Int32
The X coordinate of the scissor rectangle.
y  Int32
The Y coordinate of the scissor rectangle.
width  Int32
The width of the scissor rectangle.
height  Int32
The height of the scissor rectangle.
Remarks
Set all values to zero to disable the scissor test.
See Also