OcclusionQuery.IsSupported Property

Specifies if occlusion queries are supported on the related graphics device.

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

Syntax

public bool IsSupported { get; }

Property Value

true if occlusion queries are supported; false otherwise.

Occlusion queries are always supported on the Xbox 360 platform. Occlusion queries on the Windows platform are dependent upon the abilities of the installed video card.

See Also

Reference

OcclusionQuery Class
OcclusionQuery Members
Microsoft.Xna.Framework.Graphics Namespace

Platforms

Xbox 360, Windows XP SP2, Windows Vista