Occlusion |
public struct OcclusionQuery : IDisposable, IEquatable<OcclusionQuery>
The OcclusionQuery type exposes the following members.
| Name | Description | |
|---|---|---|
| PassingPixels | Gets the number of pixels that passed the test. Only valid if Result is also valid. | |
| Result | Gets the result of the query. |
| Name | Description | |
|---|---|---|
| Create | Creates a new query. | |
| Dispose | Releases the query. | |
| Equals(Object) |
Determines whether the specified Object is equal to this instance.
(Overrides ValueTypeEquals(Object)) | |
| Equals(OcclusionQuery) | Determines whether the specified object is equal to this instance. | |
| GetHashCode |
Returns a hash code for this instance.
(Overrides ValueTypeGetHashCode) | |
| GetType | Gets the Type of the current instance. (Inherited from Object) | |
| SetCondition | Sets the condition for which the query should check. | |
| ToString |
Returns a String that represents this instance.
(Overrides ValueTypeToString) |
| Name | Description | |
|---|---|---|
| Equality(OcclusionQuery, OcclusionQuery) | Implements the equality operator. | |
| Inequality(OcclusionQuery, OcclusionQuery) | Implements the inequality operator. |
| Name | Description | |
|---|---|---|
| MethodInvoke |
Calls the object method by name.
(Defined by ObjectEx) | |
| PropertyGet |
Gets the value of the object property by name.
(Defined by ObjectEx) | |
| PropertyGetT |
Gets the value of the object property by name.
(Defined by ObjectEx) | |
| PropertySet |
Sets the value of the object property by name.
(Defined by ObjectEx) |