BgfxSetViewRect(UInt16, Int32, Int32, BackbufferRatio) Method |
Sets the viewport for the given rendering view.
Namespace: Internal.SharpBgfxAssembly: NeoAxis.Core (in NeoAxis.Core.dll) Version: 2026.1.1.0 (2026.1.1.0)
Syntaxpublic static void SetViewRect(
ushort id,
int x,
int y,
BackbufferRatio ratio
)
Parameters
- id UInt16
- The index of the view.
- x Int32
- The X coordinate of the viewport.
- y Int32
- The Y coordinate of the viewport.
- ratio BackbufferRatio
- The ratio with which to automatically size the viewport.
See Also