OcclusionQuery Members

The following tables list the members exposed by the OcclusionQuery type.

NameDescription
Public MethodOcclusionQueryInitializes a new instance of OcclusionQuery with the specified device.

NameDescription
Public PropertyGraphicsDeviceGets the graphics device being queried.
Public PropertyIsCompleteGets a value that indicates if the occlusion query has completed.
Public PropertyIsDisposedGets a value that indicates whether the object is disposed.
Public PropertyIsSupportedSpecifies if occlusion queries are supported on the related graphics device.
Public PropertyNameGets the name of this occlusion query
Public PropertyPixelCountGets the number of visible pixels.
Public PropertyTagGets the resource tag for this occlusion query.

NameDescription
Public MethodBeginBegins application of the query.
Public MethodDisposeOverloaded. Immediately releases the unmanaged resources used by this object.
Public MethodEndEnds the application of the query.
Public MethodEquals (Inherited from Object.)
Public MethodGetHashCode (Inherited from Object.)
Public MethodGetType (Inherited from Object.)
Public MethodReferenceEquals (Inherited from Object.)
Public MethodToStringRetrieves a string representation of this object.

NameDescription
Protected MethodFinalizeAllows this object to attempt to free resources and perform other cleanup operations before garbage collection reclaims the object.
Protected MethodMemberwiseClone (Inherited from Object.)
Protected Methodraise_DisposingRaises the Disposing event when called from within a derived class.

NameDescription
Public EventDisposingOccurs when Dispose is called or when this object is finalized and collected by the garbage collector of the Microsoft .NET common language runtime.

Community Additions

ADD
Show: