OcclusionQueryΒΆ

class OcclusionQuery : GraphicsResource, System.IDisposable
readonly bool IsComplete

Gets a value indicating whether the occlusion query has completed.

Value:
:ref:`` if the occlusion query has completed; otherwise,
:ref:``.
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.