Class GorgonPipelineStatisticsQuery
A query for retrieving statistics from the rendering pipeline.
Inherited Members
Namespace: Gorgon.Graphics.Core
Assembly: Gorgon.Graphics.Core.dll
Syntax
public class GorgonPipelineStatisticsQuery : GorgonQuery<GorgonPipelineStatsResult>, IGorgonGraphicsObject, IDisposable
Constructors
| Edit this page View SourceGorgonPipelineStatisticsQuery(GorgonGraphics, string)
Initializes a new instance of the GorgonPipelineStatisticsQuery class.
Declaration
public GorgonPipelineStatisticsQuery(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 GorgonPipelineStatsResult)
Function to retrieve the result data for the query.
Declaration
protected override bool OnGetData(out GorgonPipelineStatsResult result)
Parameters
Type | Name | Description |
---|---|---|
GorgonPipelineStatsResult | result | The result of the query. |
Returns
Type | Description |
---|---|
bool | true if the query results are ready to be consumed, or false if not. |