EncoderSetScissor Method (Int32, Int32, Int32, Int32) |
Sets the scissor rectangle to use for clipping primitives.
Namespace:
Internal.SharpBgfx
Assembly:
NeoAxis.Core (in NeoAxis.Core.dll) Version: 2024.1.1.0 (2024.1.1.0)
Syntax public int SetScissor(
int x,
int y,
int width,
int height
)
Parameters
- x
- Type: SystemInt32
The X coordinate of the scissor rectangle. - y
- Type: SystemInt32
The Y coordinate of the scissor rectangle. - width
- Type: SystemInt32
The width of the rectangle. - height
- Type: SystemInt32
The height of the rectangle.
Return Value
Type:
Int32
An index into the scissor cache to allow reusing the rectangle in other calls.
See Also