BgfxSetViewRect Method (UInt16, Int32, Int32, Int32, Int32) |
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 public static void SetViewRect(
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 viewport. - y
- Type: SystemInt32
The Y coordinate of the viewport. - width
- Type: SystemInt32
The width of the viewport, in pixels. - height
- Type: SystemInt32
The height of the viewport, in pixels.
See Also