Click or drag to resize

BgfxSetViewRect Method (UInt16, Int32, Int32, BackbufferRatio)

Sets the viewport for the given rendering 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 SetViewRect(
	ushort id,
	int x,
	int y,
	BackbufferRatio ratio
)

Parameters

id
Type: SystemUInt16
The index of the view.
x
Type: SystemInt32
The X coordinate of the viewport.
y
Type: SystemInt32
The Y coordinate of the viewport.
ratio
Type: Internal.SharpBgfxBackbufferRatio
The ratio with which to automatically size the viewport.
See Also