Gorgon
Show / Hide Table of Contents

Class GorgonEventQuery

A query for performing for testing whether the GPU is finished processing commands.

Inheritance
object
GorgonQuery<bool>
GorgonEventQuery
Implements
IGorgonGraphicsObject
IDisposable
Inherited Members
GorgonQuery<bool>.Graphics
GorgonQuery<bool>.Name
GorgonQuery<bool>.HasData
GorgonQuery<bool>.GetData(out bool)
GorgonQuery<bool>.Begin()
GorgonQuery<bool>.End()
GorgonQuery<bool>.Dispose()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
Namespace: Gorgon.Graphics.Core
Assembly: Gorgon.Graphics.Core.dll
Syntax
public class GorgonEventQuery : GorgonQuery<bool>, IGorgonGraphicsObject, IDisposable

Constructors

| Edit this page View Source

GorgonEventQuery(GorgonGraphics, string)

Initializes a new instance of the GorgonEventQuery class.

Declaration
public GorgonEventQuery(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 Source

QueryType

Property to return the type of query to execute.

Declaration
public override QueryType QueryType { get; }
Property Value
Type Description
QueryType
Overrides
GorgonQuery<bool>.QueryType

Methods

| Edit this page View Source

OnGetData(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.

Overrides
GorgonQuery<bool>.OnGetData(out bool)

Implements

IGorgonGraphicsObject
IDisposable

Extension Methods

GorgonDebugExtensions.ValidateObject<T>(T, string)
GorgonNullExtensions.AsNullable<T>(object)
GorgonNullExtensions.IfNull<T>(object, T)
GorgonNullExtensions.IsNull(object)
  • Edit this page
  • View Source
In this article
Back to top Copyright 2023 - Licensed under the MIT license by Michael Winsor (Tape_Worm).
Send comments on this topic to the author