Click or drag to resize

PerfStats Structure

Contains various performance metrics tracked by the library.

Namespace:  Internal.SharpBgfx
Assembly:  NeoAxis.Core (in NeoAxis.Core.dll) Version: 2024.1.1.0 (2024.1.1.0)
Syntax
C#
public struct PerfStats

The PerfStats type exposes the following members.

Properties
  NameDescription
Public propertyBackbufferHeight
The height of the back buffer.
Public propertyBackbufferWidth
The width of the back buffer.
Public propertyBlitCallsSubmitted
The number of blit calls submitted.
Public propertyComputeCallsSubmitted
The number of compute calls submitted.
Public propertyCpuElapsed
Elapsed CPU time.
Public propertyCpuTimeEnd
CPU frame end time.
Public propertyCpuTimeFrame
CPU time between two Frame(Boolean) calls.
Public propertyCpuTimerFrequency
CPU timer frequency.
Public propertyCpuTimeStart
CPU frame start time.
Public propertyDrawCallsSubmitted
The number of draw calls submitted.
Public propertyDynamicIndexBufferCount
Number of allocated dynamic index buffers.
Public propertyDynamicVertexBufferCount
Number of allocated dynamic vertex buffers.
Public propertyFrameBufferCount
Number of allocated frame buffers.
Public propertyGpuElapsed
Elapsed GPU time.
Public propertyGpuMemoryUsed
The amount of GPU memory currently in use.
Public propertyGpuTimeEnd
GPU frame end time.
Public propertyGpuTimerFrequency
GPU timer frequency.
Public propertyGpuTimeStart
GPU frame start time.
Public propertyIndexBufferCount
Number of allocated index buffers.
Public propertyMaxGpuLatency
Maximum observed GPU driver latency.
Public propertyMaxGpuMemory
Maximum available GPU memory.
Public propertyOcclusionQueryCount
Number of allocated occlusion queries.
Public propertyProgramCount
Number of allocated shader programs.
Public propertyRenderTargetMemoryUsed
The amount of memory used by render targets.
Public propertyShaderCount
Number of allocated shaders.
Public propertyTextBufferHeight
The height of the debug text buffer.
Public propertyTextBufferWidth
The width of the debug text buffer.
Public propertyTextureCount
Number of allocated textures.
Public propertyTextureMemoryUsed
The amount of memory used by textures.
Public propertyTransientIndexBuffersUsed
The number of transient index buffers used.
Public propertyTransientVertexBuffersUsed
The number of transient vertex buffers used.
Public propertyUniformCount
Number of allocated uniforms.
Public propertyVertexBufferCount
Number of allocated vertex buffers.
Public propertyVertexDeclarationCount
Number of allocated vertex declarations.
Public propertyViews
Gets a collection of statistics for each rendering view.
Public propertyWaitingForRender
Time spent waiting for the render thread.
Public propertyWaitingForSubmit
Time spent waiting for the submit thread.
Top
Methods
  NameDescription
Public methodEquals
Indicates whether this instance and a specified object are equal.
(Inherited from ValueType.)
Public methodGetHashCode
Returns the hash code for this instance.
(Inherited from ValueType.)
Public methodGetPrimitiveCount
Gets the number of primitives rendered with the given topology.
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodToString
Returns the fully qualified type name of this instance.
(Inherited from ValueType.)
Top
Extension Methods
See Also