GraphicsMetricsΒΆ
-
struct
GraphicsMetrics: System.ValueType A snapshot of rendering statistics from P:Microsoft.Xna.Framework.Graphics.GraphicsDevice.Metrics to be used for runtime debugging and profiling.
-
readonly long
ClearCount Number of times Clear was called.
-
readonly long
DrawCount Number of times Draw was called.
-
readonly long
PixelShaderCount Number of times the pixel shader was changed on the GPU.
-
readonly long
PrimitiveCount Number of rendered primitives.
-
readonly long
SpriteCount Number of sprites and text characters rendered via T:Microsoft.Xna.Framework.Graphics.SpriteBatch.
-
readonly long
TargetCount Number of times a target was changed on the GPU.
-
readonly long
TextureCount Number of times a texture was changed on the GPU.
-
readonly long
VertexShaderCount Number of times the vertex shader was changed on the GPU.
-
GraphicsMetrics
op_Subtraction(GraphicsMetrics value1, GraphicsMetrics value2) Returns the difference between two sets of metrics.
Parameters: - value1 (Microsoft.Xna.Framework.Graphics.GraphicsMetrics) – Source T:Microsoft.Xna.Framework.Graphics.GraphicsMetrics on the left of the sub sign.
- value2 (Microsoft.Xna.Framework.Graphics.GraphicsMetrics) – Source T:Microsoft.Xna.Framework.Graphics.GraphicsMetrics on the right of the sub sign.
Returns: Difference between two sets of metrics.
-
GraphicsMetrics
op_Addition(GraphicsMetrics value1, GraphicsMetrics value2) Returns the combination of two sets of metrics.
Parameters: - value1 (Microsoft.Xna.Framework.Graphics.GraphicsMetrics) – Source T:Microsoft.Xna.Framework.Graphics.GraphicsMetrics on the left of the add sign.
- value2 (Microsoft.Xna.Framework.Graphics.GraphicsMetrics) – Source T:Microsoft.Xna.Framework.Graphics.GraphicsMetrics on the right of the add sign.
Returns: Combination of two sets of metrics.
-
readonly long