Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

OcclusionQuery Constructor

Initializes a new instance of OcclusionQuery with the specified device.

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

public OcclusionQuery (
         GraphicsDevice graphicsDevice
)

Parameters

graphicsDevice
Type: GraphicsDevice
The graphics device to associate with this query.
Exception typeCondition
ArgumentNullException graphicsDevice is null.
NotSupportedException The profile does not support occlusion queries.
OutOfMemoryExceptionThere is not enough memory to create this resource.
Xbox 360, Windows 7, Windows Vista, Windows XP
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.