class OcclusionQuery : GraphicsResource, System.IDisposable
readonly bool IsComplete

Gets a value indicating whether the occlusion query has completed.

:ref:`` if the occlusion query has completed; otherwise,
readonly int PixelCount

Gets the number of visible pixels.

Value:The number of visible pixels.
public void Begin()

Begins the occlusion query.

public void End()

Ends the occlusion query.