RasterizerState.ScissorTestEnable Property

Enables or disables scissor testing. The default is false.

Namespace: Microsoft.Xna.Framework.Graphics
Assembly: Microsoft.Xna.Framework.Graphics (in microsoft.xna.framework.graphics.dll)

public bool ScissorTestEnable { get; set; }

Property Value

true to enable scissor testing; false otherwise.

Scissor testing can improve drawing performance by only drawing triangles (or parts of triangles) that are contained within a ScissorRectangle.

Xbox 360, Windows 7, Windows Vista, Windows XP

Community Additions