Gorgon
Show / Hide Table of Contents

Enum QueryType

Types of queries that can be performed.

Namespace: Gorgon.Graphics.Core
Assembly: Gorgon.Graphics.Core.dll
Syntax
public enum QueryType

Fields

Name Description
Event

Determines whether or not the GPU is finished processing commands. When the GPU is finished processing commands.

Occlusion

Get the number of samples that passed the depth and stencil tests.

OcclusionPredicate

Same as Occlusion, except this indicates whether any samples passed the depth test.

PipelineStatistics

Get pipeline statistics, such as the number of pixel shader invocations.

StreamOutOverflowPredicate

Determines whether or not any of the streaming output buffers overflowed. If streaming output writes to multiple buffers, and one of the buffers overflows, then it will stop writing to all the output buffers.

StreamOutOverflowPredicate0

Determines whether or not stream 0 overflowed. If streaming output writes to multiple buffers, and one of the buffers overflows, then it will stop writing to all the output buffers.

StreamOutOverflowPredicate1

Determines whether or not stream 1 overflowed. If streaming output writes to multiple buffers, and one of the buffers overflows, then it will stop writing to all the output buffers.

StreamOutOverflowPredicate2

Determines whether or not stream 2 overflowed. If streaming output writes to multiple buffers, and one of the buffers overflows, then it will stop writing to all the output buffers.

StreamOutOverflowPredicate3

Determines whether or not stream 3 overflowed. If streaming output writes to multiple buffers, and one of the buffers overflows, then it will stop writing to all the output buffers.

StreamOutStatistics

Get streaming output statistics, such as the number of primitives streamed out.

StreamOutStatistics0

Get streaming output statistics for stream 0, such as the number of primitives streamed out

StreamOutStatistics1

Get streaming output statistics for stream 1, such as the number of primitives streamed out

StreamOutStatistics2

Get streaming output statistics for stream 2, such as the number of primitives streamed out

StreamOutStatistics3

Get streaming output statistics for stream 3, such as the number of primitives streamed out

Timestamp

Get a timestamp value. This kind of query is only useful if two timestamp queries are done in the middle of a TimestampDisjoint query. The difference of two timestamps can be used to determine how many ticks have elapsed, and the TimestampDisjoint query will determine if that difference is a reliable value and also has a value that shows how to convert the number of ticks into seconds.

TimestampDisjoint

Determines whether or not a Timestamp is returning reliable values, and also gives the frequency of the processor enabling you to convert the number of elapsed ticks into seconds.

Extension Methods

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