Frame Statistics¶
Contents
-
class
renderdoc.
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
¶ True
if the statistics in this structure are valid.
-
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
¶ 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.
-
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¶
Shader Statistics¶
-
class
renderdoc.
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.
-
nulls
¶ How many objects were unbound.
-
sets
¶ How many objects were bound.
-
-
class
renderdoc.
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.
-
nulls
¶ How many objects were unbound.
-
sets
¶ How many objects were bound.
-
-
class
renderdoc.
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.
-
nulls
¶ How many objects were unbound.
-
sets
¶ How many objects were bound.
-
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]
-
Fixed Function Statistics¶
-
class
renderdoc.
IndexBindStats
¶ Contains the statistics for index buffer binds in a frame.
-
calls
¶ How many function calls were made.
-
nulls
¶ How many objects were unbound.
-
sets
¶ How many objects were bound.
-
-
class
renderdoc.
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.
-
nulls
¶ How many objects were unbound.
-
sets
¶ How many objects were bound.
-
-
class
renderdoc.
LayoutBindStats
¶ Contains the statistics for vertex layout binds in a frame.
-
calls
¶ How many function calls were made.
-
nulls
¶ How many objects were unbound.
-
sets
¶ How many objects were bound.
-
-
class
renderdoc.
BlendStats
¶ Contains the statistics for blend state binds in a frame.
-
calls
¶ How many function calls were made.
-
nulls
¶ How many objects were unbound.
-
redundants
¶ How many calls made no change due to the existing bind being identical.
-
sets
¶ How many objects were bound.
-
-
class
renderdoc.
DepthStencilStats
¶ Contains the statistics for depth stencil state binds in a frame.
-
calls
¶ How many function calls were made.
-
nulls
¶ How many objects were unbound.
-
redundants
¶ How many calls made no change due to the existing bind being identical.
-
sets
¶ How many objects were bound.
-
-
class
renderdoc.
RasterizationStats
¶ Contains the statistics for rasterizer state binds in a frame.
-
calls
¶ How many function calls were made.
-
nulls
¶ How many objects were unbound.
-
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.
-
sets
¶ How many objects were bound.
-
viewports
¶ A list where the Nth element contains the number of calls that bound N viewports.
- Type
List[int]
-
-
class
renderdoc.
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.
-
nulls
¶ How many objects were unbound.
-
sets
¶ How many objects were bound.
-