Click or drag to resize

OcclusionQuery Structure

Represents an occlusion query.
Inheritance Hierarchy
SystemObject
  SystemValueType
    Internal.SharpBgfxOcclusionQuery

Namespace: Internal.SharpBgfx
Assembly: NeoAxis.Core (in NeoAxis.Core.dll) Version: 2026.1.1.0 (2026.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 methodGetTypeGets 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(OcclusionQuery, OcclusionQuery) Implements the equality operator.
Public operatorStatic memberInequality(OcclusionQuery, OcclusionQuery) Implements the inequality operator.
Top
Fields
 NameDescription
Public fieldStatic memberInvalid Represents an invalid handle.
Top
Extension Methods
 NameDescription
Public Extension MethodMethodInvoke Calls the object method by name.
(Defined by ObjectEx)
Public Extension MethodPropertyGet Gets the value of the object property by name.
(Defined by ObjectEx)
Public Extension MethodPropertyGetT Gets the value of the object property by name.
(Defined by ObjectEx)
Public Extension MethodPropertySet Sets the value of the object property by name.
(Defined by ObjectEx)
Top
See Also