OcclusionQuery Members
The following tables list the members exposed by the OcclusionQuery type.
Public Constructors
Name | Description | |
---|---|---|
![]() |
OcclusionQuery | Initializes a new instance of OcclusionQuery with the specified device. |
Public Properties
Name | Description | |
---|---|---|
![]() |
GraphicsDevice | Gets the graphics device being queried. |
![]() |
IsComplete | Gets a value that indicates if the occlusion query has completed. |
![]() |
IsDisposed | Gets a value that indicates whether the object is disposed. |
![]() |
IsSupported | Specifies if occlusion queries are supported on the related graphics device. |
![]() |
Name | Gets the name of this occlusion query |
![]() |
PixelCount | Gets the number of visible pixels. |
![]() |
Tag | Gets the resource tag for this occlusion query. |
Public Methods
Name | Description | |
---|---|---|
![]() |
Begin | Begins application of the query. |
![]() |
Dispose | Overloaded. Immediately releases the unmanaged resources used by this object. |
![]() |
End | Ends the application of the query. |
![]() |
Equals | (Inherited from Object.) |
![]() |
GetHashCode | (Inherited from Object.) |
![]() |
GetType | (Inherited from Object.) |
![]() |
ReferenceEquals | (Inherited from Object.) |
![]() |
ToString | Retrieves a string representation of this object. |
Protected Methods
Name | Description | |
---|---|---|
![]() |
Finalize | Allows this object to attempt to free resources and perform other cleanup operations before garbage collection reclaims the object. |
![]() |
MemberwiseClone | (Inherited from Object.) |
![]() |
raise_Disposing | Raises the Disposing event when called from within a derived class. |
Public Events
Name | Description | |
---|---|---|
![]() |
Disposing | Occurs when Dispose is called or when this object is finalized and collected by the garbage collector of the Microsoft .NET common language runtime. |
See Also
Reference
OcclusionQuery Class
Microsoft.Xna.Framework.Graphics Namespace