BgfxSetScissor(Int32, Int32, Int32, Int32) Method |
Sets the scissor rectangle to use for clipping primitives.
Namespace: Internal.SharpBgfxAssembly: NeoAxis.Core (in NeoAxis.Core.dll) Version: 2026.1.1.0 (2026.1.1.0)
Syntaxpublic static int SetScissor(
int x,
int y,
int width,
int height
)
Parameters
- x Int32
- The X coordinate of the scissor rectangle.
- y Int32
- The Y coordinate of the scissor rectangle.
- width Int32
- The width of the rectangle.
- height Int32
- The height of the rectangle.
Return Value
Int32
An index into the scissor cache to allow reusing the rectangle in other calls.
See Also