Click or drag to resize

BgfxSetViewRect(UInt16, Int32, Int32, Int32, Int32) Method

Sets the viewport for the given rendering 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 SetViewRect(
	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 viewport.
y  Int32
The Y coordinate of the viewport.
width  Int32
The width of the viewport, in pixels.
height  Int32
The height of the viewport, in pixels.
See Also