OcclusionQuery.Begin Method

Begins application of the query.

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

public void Begin ()

Exception typeCondition
InvalidOperationException
  • Begin cannot be called again until End is called successfully.
  • Begin may not be called on this query object again before IsComplete is checked.

Xbox 360, Windows 7, Windows Vista, Windows XP

Community Additions

ADD
Show: