Export (0) Print
Expand All

OcclusionQuery Constructor

Initializes a new instance of OcclusionQuery with the specified device.

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

public OcclusionQuery (
         GraphicsDevice graphicsDevice
)

Parameters

graphicsDevice
The graphics device to associate with this query.

Exception typeCondition
ArgumentNullException graphicsDevice is null.
InvalidOperationExceptionThis resource could not be created.

Xbox 360, Windows XP SP2, Windows Vista

Community Additions

ADD
Show:
© 2014 Microsoft