API Reference: Frame StatisticsΒΆ
This is the API reference for the functions, classes, and enums in the renderdoc module which represents the underlying interface that the UI is built on top of. For more high-level information and instructions on using the python API, see Python API.
- class renderdoc.FrameStatisticsΒΆ
- class renderdoc.FrameStatistics(other: FrameStatistics)
Contains all the available statistics about the captured frame.
Currently this information is only available on D3D11 and is fairly API-centric.
- blendsΒΆ
Information about blend state binds.
- Type:
- constantsΒΆ
A list of constant buffer bind statistics, one per each
stage.- Type:
List[ConstantBindStats]
- depthsΒΆ
Information about depth-stencil state binds.
- Type:
- dispatchesΒΆ
Information about compute dispatches.
- Type:
- drawsΒΆ
Information about drawcalls.
- Type:
- indicesΒΆ
Information about index buffer binds.
- Type:
- layoutsΒΆ
Information about vertex layout binds.
- Type:
- outputsΒΆ
Information about output merger and UAV binds.
- Type:
- rastersΒΆ
Information about rasterizer state binds.
- Type:
- recordedΒΆ
Trueif the statistics in this structure are valid.- Type:
bool
- resourcesΒΆ
A list of resource bind statistics, one per each
stage.- Type:
List[ResourceBindStats]
- samplersΒΆ
A list of sampler bind statistics, one per each
stage.- Type:
List[SamplerBindStats]
- shadersΒΆ
A list of shader bind statistics, one per each
stage.- Type:
List[ShaderChangeStats]
- updatesΒΆ
Information about resource contents updates.
- Type:
- verticesΒΆ
Information about vertex buffer binds.
- Type:
Resource StatisticsΒΆ
- class renderdoc.ResourceUpdateStatsΒΆ
- class renderdoc.ResourceUpdateStats(other: ResourceUpdateStats)
Contains the statistics for resource updates in a frame.
- BucketTypeΒΆ
The type of buckets being used. See
BucketRecordType.
- BucketCountΒΆ
How many buckets there are in the arrays.
- callsΒΆ
How many function calls were made.
- Type:
int
- typesΒΆ
A list with one element for each type in
TextureType.The Nth element contains the number of times a resource of that type was updated.
- Type:
List[int]
- class renderdoc.BucketRecordType(value)ΒΆ
The type of bucketing method for recording statistics.
- LinearΒΆ
Each bucket contains a fixed number of elements. The highest bucket also accumulates any values too high for any of the buckets.
- Pow2ΒΆ
Each bucket holds twice as many elements as the previous one, with the first bucket containing just 1 (bucket index is
log2(value)).
Drawcall StatisticsΒΆ
- class renderdoc.DrawcallStatsΒΆ
- class renderdoc.DrawcallStats(other: DrawcallStats)
Contains the statistics for draws in a frame.
- BucketTypeΒΆ
The type of buckets being used. See
BucketRecordType.
- BucketSizeΒΆ
How many elements each bucket contains.
- BucketCountΒΆ
How many buckets there are in the arrays.
- callsΒΆ
How many draw calls were made.
- Type:
int
- class renderdoc.DispatchStatsΒΆ
- class renderdoc.DispatchStats(other: DispatchStats)
Contains the statistics for compute dispatches in a frame.
- callsΒΆ
How many dispatch calls were made.
- Type:
int
Shader StatisticsΒΆ
- class renderdoc.ConstantBindStatsΒΆ
- class renderdoc.ConstantBindStats(other: ConstantBindStats)
Contains the statistics for constant binds in a frame.
- BucketTypeΒΆ
The type of buckets being used. See
BucketRecordType.
- BucketCountΒΆ
How many buckets there are in the arrays.
- bindslotsΒΆ
A list where the Nth element contains the number of calls that bound N buffers.
- Type:
List[int]
- callsΒΆ
How many function calls were made.
- Type:
int
- nullsΒΆ
How many objects were unbound.
- Type:
int
- setsΒΆ
How many objects were bound.
- Type:
int
- class renderdoc.SamplerBindStatsΒΆ
- class renderdoc.SamplerBindStats(other: SamplerBindStats)
Contains the statistics for sampler binds in a frame.
- bindslotsΒΆ
A list where the Nth element contains the number of calls that bound N samplers.
- Type:
List[int]
- callsΒΆ
How many function calls were made.
- Type:
int
- nullsΒΆ
How many objects were unbound.
- Type:
int
- setsΒΆ
How many objects were bound.
- Type:
int
- class renderdoc.ResourceBindStatsΒΆ
- class renderdoc.ResourceBindStats(other: ResourceBindStats)
Contains the statistics for resource binds in a frame.
- bindslotsΒΆ
A list where the Nth element contains the number of calls that bound N resources.
- Type:
List[int]
- callsΒΆ
How many function calls were made.
- Type:
int
- nullsΒΆ
How many objects were unbound.
- Type:
int
- setsΒΆ
How many objects were bound.
- Type:
int
- typesΒΆ
A list with one element for each type in
TextureType.The Nth element contains the number of times a resource of that type was bound.
- Type:
List[int]
- class renderdoc.ShaderChangeStatsΒΆ
- class renderdoc.ShaderChangeStats(other: ShaderChangeStats)
Contains the statistics for shader binds in a frame.
- callsΒΆ
How many function calls were made.
- Type:
int
- nullsΒΆ
How many objects were unbound.
- Type:
int
- redundantsΒΆ
How many calls made no change due to the existing bind being identical.
- Type:
int
- setsΒΆ
How many objects were bound.
- Type:
int
Fixed Function StatisticsΒΆ
- class renderdoc.IndexBindStatsΒΆ
- class renderdoc.IndexBindStats(other: IndexBindStats)
Contains the statistics for index buffer binds in a frame.
- callsΒΆ
How many function calls were made.
- Type:
int
- nullsΒΆ
How many objects were unbound.
- Type:
int
- setsΒΆ
How many objects were bound.
- Type:
int
- class renderdoc.VertexBindStatsΒΆ
- class renderdoc.VertexBindStats(other: VertexBindStats)
Contains the statistics for vertex buffer binds in a frame.
- bindslotsΒΆ
A list where the Nth element contains the number of calls that bound N vertex buffers.
- Type:
List[int]
- callsΒΆ
How many function calls were made.
- Type:
int
- nullsΒΆ
How many objects were unbound.
- Type:
int
- setsΒΆ
How many objects were bound.
- Type:
int
- class renderdoc.LayoutBindStatsΒΆ
- class renderdoc.LayoutBindStats(other: LayoutBindStats)
Contains the statistics for vertex layout binds in a frame.
- callsΒΆ
How many function calls were made.
- Type:
int
- nullsΒΆ
How many objects were unbound.
- Type:
int
- setsΒΆ
How many objects were bound.
- Type:
int
- class renderdoc.BlendStatsΒΆ
- class renderdoc.BlendStats(other: BlendStats)
Contains the statistics for blend state binds in a frame.
- callsΒΆ
How many function calls were made.
- Type:
int
- nullsΒΆ
How many objects were unbound.
- Type:
int
- redundantsΒΆ
How many calls made no change due to the existing bind being identical.
- Type:
int
- setsΒΆ
How many objects were bound.
- Type:
int
- class renderdoc.DepthStencilStatsΒΆ
- class renderdoc.DepthStencilStats(other: DepthStencilStats)
Contains the statistics for depth stencil state binds in a frame.
- callsΒΆ
How many function calls were made.
- Type:
int
- nullsΒΆ
How many objects were unbound.
- Type:
int
- redundantsΒΆ
How many calls made no change due to the existing bind being identical.
- Type:
int
- setsΒΆ
How many objects were bound.
- Type:
int
- class renderdoc.RasterizationStatsΒΆ
- class renderdoc.RasterizationStats(other: RasterizationStats)
Contains the statistics for rasterizer state binds in a frame.
- callsΒΆ
How many function calls were made.
- Type:
int
- nullsΒΆ
How many objects were unbound.
- Type:
int
- rectsΒΆ
A list where the Nth element contains the number of calls that bound N scissor rects.
- Type:
List[int]
- redundantsΒΆ
How many calls made no change due to the existing bind being identical.
- Type:
int
- setsΒΆ
How many objects were bound.
- Type:
int
- viewportsΒΆ
A list where the Nth element contains the number of calls that bound N viewports.
- Type:
List[int]
- class renderdoc.OutputTargetStatsΒΆ
- class renderdoc.OutputTargetStats(other: OutputTargetStats)
Contains the statistics for output merger or UAV binds in a frame.
- bindslotsΒΆ
A list where the Nth element contains the number of calls that bound N targets.
- Type:
List[int]
- callsΒΆ
How many function calls were made.
- Type:
int
- nullsΒΆ
How many objects were unbound.
- Type:
int
- setsΒΆ
How many objects were bound.
- Type:
int