Gorgon
Show / Hide Table of Contents

Class GorgonTimestampQuery

A query for performing occlusion testing.

Inheritance
object
GorgonQuery<ulong>
GorgonTimestampQuery
Implements
IGorgonGraphicsObject
IDisposable
Inherited Members
GorgonQuery<ulong>.Graphics
GorgonQuery<ulong>.Name
GorgonQuery<ulong>.HasData
GorgonQuery<ulong>.GetData(out ulong)
GorgonQuery<ulong>.Begin()
GorgonQuery<ulong>.End()
GorgonQuery<ulong>.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 GorgonTimestampQuery : GorgonQuery<ulong>, IGorgonGraphicsObject, IDisposable

Constructors

| Edit this page View Source

GorgonTimestampQuery(GorgonGraphics, string)

Initializes a new instance of the GorgonTimestampQuery class.

Declaration
public GorgonTimestampQuery(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<ulong>.QueryType

Methods

| Edit this page View Source

OnGetData(out ulong)

Function to retrieve the result data for the query.

Declaration
protected override bool OnGetData(out ulong result)
Parameters
Type Name Description
ulong 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<ulong>.OnGetData(out ulong)

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