Class GorgonOcclusionPredicateQuery
A query for performing occlusion predicate testing.
Inherited Members
Namespace: Gorgon.Graphics.Core
Assembly: Gorgon.Graphics.Core.dll
Syntax
public class GorgonOcclusionPredicateQuery : GorgonQuery<bool>, IGorgonGraphicsObject, IDisposable
Constructors
| Edit this page View SourceGorgonOcclusionPredicateQuery(GorgonGraphics, string)
Initializes a new instance of the GorgonOcclusionQuery class.
Declaration
public GorgonOcclusionPredicateQuery(GorgonGraphics graphics, string name = null)
Parameters
Type | Name | Description |
---|---|---|
GorgonGraphics | graphics | The graphics interface used to build the query. |
string | name | [Optional] The name for the query. |
Properties
| Edit this page View SourceQueryType
Property to return the type of query to execute.
Declaration
public override QueryType QueryType { get; }
Property Value
Type | Description |
---|---|
QueryType |
Overrides
Methods
| Edit this page View SourceOnGetData(out bool)
Function to retrieve the result data for the query.
Declaration
protected override bool OnGetData(out bool result)
Parameters
Type | Name | Description |
---|---|---|
bool | result | The result of the query. |
Returns
Type | Description |
---|---|
bool | true if the query results are ready to be consumed, or false if not. |