struct GpuProfilerSample

Contains various profiler statistics about a single GPU profiling sample.

Public

Fields

Name

String Name

Name of the sample for easier identification.

TimeMs

float TimeMs

Time in milliseconds it took to execute the sampled block.

DrawCallCount

u32 DrawCallCount

Number of draw calls that happened.

RenderTargetChangesCount

u32 RenderTargetChangesCount

How many times was render target changed.

PresentCount

u32 PresentCount

How many times did a buffer swap happen on a double buffered render target.

ClearCount

u32 ClearCount

How many times was render target cleared.

VerticesDrawn

u32 VerticesDrawn

Total number of vertices sent to the GPU.

PrimitivesDrawn

u32 PrimitivesDrawn

Total number of primitives sent to the GPU.

SamplesDrawn

u32 SamplesDrawn

Number of samples drawn by the GPU.

PipelineStateChangeCount

u32 PipelineStateChangeCount

How many times did the pipeline state change.

GpuParameterBindCount

u32 GpuParameterBindCount

How many times were GPU parameters bound.

VertexBufferBindCount

u32 VertexBufferBindCount

How many times was a vertex buffer bound.

IndexBufferBindCount

u32 IndexBufferBindCount

How many times was an index buffer bound.

ResourceWriteCount

u32 ResourceWriteCount

How many times were GPU resources written to.

ResourceReadCount

u32 ResourceReadCount

How many times were GPU resources read from.

ObjectsCreatedCount

u32 ObjectsCreatedCount

How many GPU objects were created.

ObjectsDestroyedCount

u32 ObjectsDestroyedCount

How many GPU objects were destroyed.

ChildSamples