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: 2024.1.1.0 (2024.1.1.0)
Syntax
C#
public static void SetViewScissor(
	ushort id,
	int x,
	int y,
	int width,
	int height
)

Parameters

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