Click or drag to resize

OcclusionQuery Structure

Represents an occlusion query.

Namespace:  Internal.SharpBgfx
Assembly:  NeoAxis.Core (in NeoAxis.Core.dll) Version: 2024.1.1.0 (2024.1.1.0)
Syntax
C#
public struct OcclusionQuery : IDisposable, 
	IEquatable<OcclusionQuery>

The OcclusionQuery type exposes the following members.

Properties
  NameDescription
Public propertyPassingPixels
Gets the number of pixels that passed the test. Only valid if Result is also valid.
Public propertyResult
Gets the result of the query.
Top
Methods
  NameDescription
Public methodStatic memberCreate
Creates a new query.
Public methodDispose
Releases the query.
Public methodEquals(Object)
Determines whether the specified Object is equal to this instance.
(Overrides ValueTypeEquals(Object).)
Public methodEquals(OcclusionQuery)
Determines whether the specified object is equal to this instance.
Public methodGetHashCode
Returns a hash code for this instance.
(Overrides ValueTypeGetHashCode.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodSetCondition
Sets the condition for which the query should check.
Public methodToString
Returns a String that represents this instance.
(Overrides ValueTypeToString.)
Top
Operators
  NameDescription
Public operatorStatic memberEquality
Implements the equality operator.
Public operatorStatic memberInequality
Implements the inequality operator.
Top
Fields
  NameDescription
Public fieldStatic memberInvalid
Represents an invalid handle.
Top
Extension Methods
See Also