API Reference: Replay AnalysisΒΆ
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.
Frame and ActionsΒΆ
- class renderdoc.FrameDescriptionΒΆ
- class renderdoc.FrameDescription(other: FrameDescription)
Contains frame-level global information
- NoFrameNumberΒΆ
No frame number is available.
- captureTimeΒΆ
The time when the capture was created, as a unix timestamp in UTC.
- Type:
int
- compressedFileSizeΒΆ
The total file size of the whole capture in bytes, before decompression.
- Type:
int
- containsAnnotationsΒΆ
Whether or not the capture contains any annotations.
- Type:
bool
- debugMessagesΒΆ
The debug messages that are not associated with any particular event.
- Type:
List[DebugMessage]
- fileOffsetΒΆ
The offset into the file of the start of the frame.
Note
Similarly to
APIEvent.fileOffsetthis should only be used as a relative measure, as it is not a literal number of bytes from the start of the file on disk.- Type:
int
- frameNumberΒΆ
Starting from frame #1 defined as the time from application startup to first present, this counts the frame number when the capture was made.
Note
This value is only accurate if the capture was triggered through the default mechanism, if it was triggered from the application API it doesnβt correspond to anything and will be set to
NoFrameNumber.- Type:
int
- initDataSizeΒΆ
The byte size of the section of the file that contains frame-initial contents.
- Type:
int
- persistentSizeΒΆ
The byte size of the section of the file that must be kept in memory persistently.
- Type:
int
- statsΒΆ
The frame statistics.
- Type:
- uncompressedFileSizeΒΆ
The total file size of the whole capture in bytes, after decompression.
- Type:
int
- class renderdoc.ActionDescriptionΒΆ
- class renderdoc.ActionDescription(other: ActionDescription)
Describes the properties of an action.
An action is a call such as a draw, a compute dispatch, clears, copies, resolves, etc. Any GPU event which may have deliberate visible side-effects to application-visible memory, typically resources such as textures and buffers. It also includes markers, which provide a user-generated annotation of events and actions.
- GetName(structuredFile)ΒΆ
Returns the name for this action, either from its custom name (see
customName) or from the matching chunk in the structured data passed in.
- IsFakeMarker()ΒΆ
Returns whether or not this action corresponds to a fake marker added by
ReplayController.AddFakeMarkers().Such actions may break expectations of event IDs and action IDs, so it is recommended to avoid processing them wherever possible.
- Returns:
Returns whether or not this action is a fake marker.
- Return type:
bool
- actionIdΒΆ
A 1-based index of this action relative to other actions.
- Type:
int
- baseVertexΒΆ
For indexed drawcalls, the offset added to each index after fetching.
- Type:
int
- childrenΒΆ
The child actions below this one, if itβs a marker region or multi-action.
- Type:
List[ActionDescription]
- copyDestinationΒΆ
The
ResourceIdidentifying the destination object in a copy, resolve or blit operation.- Type:
- copyDestinationSubresourceΒΆ
Which part of
copyDestinationis used.- Type:
- copySourceΒΆ
The
ResourceIdidentifying the source object in a copy, resolve or blit operation.- Type:
- copySourceSubresourceΒΆ
Which part of
copySourceis used.- Type:
- customNameΒΆ
The custom name of this action.
For markers this will be a user-provided string. In most other cases this will be empty, and the name can be generated using structured data. The last listed event in
eventswill correspond to the event for the overall action, and its chunk will contain a name and any parameters.Some actions will have a custom name generated for e.g. reading back and directly displaying indirect parameters or render pass parameters.
- Type:
str
- dispatchBaseΒΆ
The 3D base offset of the workgroup ID if the call allows an override, or 0 if not.
- Type:
Tuple[int,int,int]
- dispatchDimensionΒΆ
The 3D number of workgroups to dispatch in a dispatch call.
- Type:
Tuple[int,int,int]
- dispatchThreadsDimensionΒΆ
The 3D size of each workgroup in threads if the call allows an override, or 0 if not.
- Type:
Tuple[int,int,int]
- drawIndexΒΆ
The index of this action in an call with multiple draws, e.g. an indirect action.
0 if not part of a multi-action.
- Type:
int
- flagsΒΆ
A set of
ActionFlagsproperties describing what kind of action this is.- Type:
- indexOffsetΒΆ
For indexed drawcalls, the first index to fetch from the index buffer.
- Type:
int
- instanceOffsetΒΆ
For instanced drawcalls, the offset applied before looking up instanced vertex inputs.
- Type:
int
- markerColorΒΆ
A RGBA color specified by a debug marker call.
- Type:
- nextActionΒΆ
The next action in the frame, or
Noneif this is the last action in the frame.- Type:
- numIndicesΒΆ
The number of indices or vertices as appropriate for a draw action. 0 if not used.
- Type:
int
- numInstancesΒΆ
The number of instances for a draw action. 0 if not used.
- Type:
int
- outputsΒΆ
An 8-tuple of the
ResourceIdids for the color outputs, which can be used for very coarse bucketing of actions into similar passes by their outputs.- Type:
Tuple[ResourceId,β¦]
- parentΒΆ
The parent of this action, or
Noneif there is no parent for this action.- Type:
- previousActionΒΆ
The previous action in the frame, or
Noneif this is the first action in the frame.- Type:
- vertexOffsetΒΆ
For non-indexed drawcalls, the offset applied before looking up each vertex input.
- Type:
int
- class renderdoc.ActionFlags(value)ΒΆ
A set of flags describing the properties of a particular action. An action is a call such as a draw, a compute dispatch, clears, copies, resolves, etc. Any GPU event which may have deliberate visible side-effects to application-visible memory, typically resources such as textures and buffers. It also includes markers, which provide a user-generated annotation of events and actions.
- NoFlagsΒΆ
The action has no special properties.
- ClearΒΆ
The action is a clear call. See
ClearColorandClearDepthStencil.
- DrawcallΒΆ
The action renders primitives using the graphics pipeline.
- DispatchΒΆ
The action issues a number of compute workgroups.
- MeshDispatchΒΆ
The action issues a number of mesh groups for a draw.
- CmdListΒΆ
The action calls into a previously recorded child command list.
- SetMarkerΒΆ
The action inserts a single debugging marker.
- PushMarkerΒΆ
The action begins a debugging marker region that has children.
- PopMarkerΒΆ
The action ends a debugging marker region.
- PresentΒΆ
The action is a presentation call that hands a swapchain image to the presentation engine.
- MultiActionΒΆ
The action is a multi-action that contains several specified child actions. Typically a MultiDraw or ExecuteIndirect on D3D12.
- CopyΒΆ
The action performs a resource copy operation.
- ResolveΒΆ
The action performs a resource resolve or blit operation.
- GenMipsΒΆ
The action performs a resource mip-generation operation.
- DispatchRayΒΆ
This action issues a number of rays.
- BuildAccStructΒΆ
This action builds or copies to and implicitly fills an acceleration structure.
- IndexedΒΆ
The action uses an index buffer.
- InstancedΒΆ
The action uses instancing. This does not mean it renders more than one instanced, simply that it uses the instancing feature.
- AutoΒΆ
The action interacts with stream-out to render all vertices previously written. This is a Direct3D 11 specific feature.
- IndirectΒΆ
The action uses a buffer on the GPU to source some or all of its parameters in an indirect way.
- ClearColorΒΆ
The action clears a color target.
- ClearDepthStencilΒΆ
The action clears a depth-stencil target.
- BeginPassΒΆ
The action marks the beginning of a render pass.
- EndPassΒΆ
The action marks the end of a render pass.
- CommandBufferBoundaryΒΆ
The action is a virtual marker added to show command buffer boundaries.
- class renderdoc.APIEventΒΆ
- class renderdoc.APIEvent(other: APIEvent)
An individual API-level event, generally corresponds one-to-one with an API call.
- NoChunkΒΆ
No chunk is available.
- annotationsΒΆ
An optional set of annotations associated with this event, may be
Noneif annotations are not used.- Type:
- chunkIndexΒΆ
The chunk index for this function call in the structured file.
If no chunk index is available this will be set to
NoChunk. This will only happen for fake markers added to the capture after load.- Type:
int
- eventIdΒΆ
The API eventβs Event ID.
This is a 1-based count of API events in the capture. The eventId is used as a reference point in many places in the API to represent where in the capture the βcurrent stateβ is, and to perform analysis in reference to the state at a particular point in the frame.
eventIds are generally increasing, positive, and contiguous, with a few exceptions. These are when fake markers are added to a capture with
ReplayController.AddFakeMarkers(). Thus if strong eventId guarantees are desired, this function should be avoided.Also eventIds may not correspond directly to an actual function call - sometimes a function such as a multi action indirect will be one function call that expands to multiple events to allow inspection of results part way through the multi action.
- Type:
int
- fileOffsetΒΆ
A byte offset in the data stream where this event happens.
Note
This should only be used as a relative measure, it is not a literal number of bytes from the start of the file on disk.
- Type:
int
Debug MessagesΒΆ
- class renderdoc.DebugMessageΒΆ
- class renderdoc.DebugMessage(other: DebugMessage)
A debugging message from the API validation or internal analysis and error detection.
- descriptionΒΆ
The string contents of the message.
- Type:
str
- messageIDΒΆ
An ID that identifies this particular debug message uniquely.
- Type:
int
- class renderdoc.MessageCategory(value)ΒΆ
The type of issue that a debug message is about.
- Application_DefinedΒΆ
This message was generated by the application.
- MiscellaneousΒΆ
This message doesnβt fall into any other pre-defined category.
- InitializationΒΆ
This message is about initialisation or creation of objects.
- CleanupΒΆ
This message is about cleanup, destruction or shutdown of objects.
- CompilationΒΆ
This message is about compilation of shaders.
- State_CreationΒΆ
This message is about creating unified state objects.
- State_SettingΒΆ
This message is about changing current pipeline state.
- State_GettingΒΆ
This message is about fetching or retrieving current pipeline state.
- Resource_ManipulationΒΆ
This message is about updating or changing a resourceβs properties or contents.
- ExecutionΒΆ
This message is about performing work.
- ShadersΒΆ
This message is about the use, syntax, binding or linkage of shaders.
- DeprecatedΒΆ
This message is about the use of deprecated functionality.
- UndefinedΒΆ
This message is about the use of undefined behaviour.
- PortabilityΒΆ
This message is about behaviour that could be or is not portable between different environments.
- PerformanceΒΆ
This message is about performance problems or pitfalls.
- class renderdoc.MessageSeverity(value)ΒΆ
How serious a debug message is
- HighΒΆ
This message is very serious, indicating a guaranteed problem or major flaw.
- MediumΒΆ
This message is somewhat serious, indicating a problem that should be addressed or investigated.
- LowΒΆ
This message is not very serious. This indicates something that might indicate a problem.
- InfoΒΆ
This message is not about a problem but is purely informational.
- class renderdoc.MessageSource(value)ΒΆ
Where a debug message was reported from
- APIΒΆ
This message comes from the APIβs debugging or validation layers.
- RedundantAPIUseΒΆ
This message comes from detecting redundant API calls - calls with no side-effect or purpose, e.g. setting state that is already set.
- IncorrectAPIUseΒΆ
This message comes from detecting incorrect use of the API.
- GeneralPerformanceΒΆ
This message comes from detecting general performance problems that are not hardware or platform specific.
- GCNPerformanceΒΆ
This message comes from detecting patterns that will cause performance problems on GCN-based hardware.
- RuntimeWarningΒΆ
This message comes not from inspecting the log but something detected at runtime while in use, for example exceptions generated during shader debugging.
- UnsupportedConfigurationΒΆ
This message comes from replaying a capture in an environment with insufficient capability to accurately reproduce the API work. Either this means the replay will be wrong, or it may be that depending on the exact API work some inaccuracies might happen.
Resource UsageΒΆ
- class renderdoc.EventUsageΒΆ
- class renderdoc.EventUsage(other: EventUsage)
- class renderdoc.EventUsage(eventId: int, usage: ResourceUsage)
Describes a particular use of a resource at a specific
eventId.- usageΒΆ
The
ResourceUsagein question.- Type:
- class renderdoc.ResourceUsage(value)ΒΆ
How a resource is being used in the pipeline at a particular point.
Note that a resource may be used for more than one thing in one event, see
EventUsage.- UnusedΒΆ
The resource is not being tracked for usage at any event.
- VertexBufferΒΆ
The resource is being used as a fixed-function vertex buffer input.
- IndexBufferΒΆ
The resource is being used as an index buffer.
- VS_ConstantsΒΆ
The resource is being used for constants in the
vertex shader.
- HS_ConstantsΒΆ
The resource is being used for constants in the tessellation control or
hull shader.
- DS_ConstantsΒΆ
The resource is being used for constants in the tessellation evaluation or
domain shader.
- GS_ConstantsΒΆ
The resource is being used for constants in the
geometry shader.
- PS_ConstantsΒΆ
The resource is being used for constants in the
pixel shader.
- CS_ConstantsΒΆ
The resource is being used for constants in the
compute shader.
- TS_ConstantsΒΆ
The resource is being used as a constants in the amplification or
task shader.
- MS_ConstantsΒΆ
The resource is being used as a constants in the
mesh shader.
- All_ConstantsΒΆ
The resource is being used for constants in all shader stages.
- StreamOutΒΆ
The resource is being used for stream out/transform feedback storage after geometry processing.
- VS_ResourceΒΆ
The resource is being used as a read-only resource in the
vertex shader.
- HS_ResourceΒΆ
The resource is being used as a read-only resource in the tessellation control or
hull shader.
- DS_ResourceΒΆ
The resource is being used as a read-only resource in the tessellation evaluation or
domain shader.
- GS_ResourceΒΆ
The resource is being used as a read-only resource in the
geometry shader.
- PS_ResourceΒΆ
The resource is being used as a read-only resource in the
pixel shader.
- CS_ResourceΒΆ
The resource is being used as a read-only resource in the
compute shader.
- TS_ResourceΒΆ
The resource is being used as a read-only resource in the amplification or
task shader.
- MS_ResourceΒΆ
The resource is being used as a read-only resource in the
mesh shader.
- All_ResourceΒΆ
The resource is being used as a read-only resource in all shader stages.
- VS_RWResourceΒΆ
The resource is being used as a read-write resource in the
vertex shader.
- HS_RWResourceΒΆ
The resource is being used as a read-write resource in the tessellation control or
hull shader.
- DS_RWResourceΒΆ
The resource is being used as a read-write resource in the tessellation evaluation or
domain shader.
- GS_RWResourceΒΆ
The resource is being used as a read-write resource in the
geometry shader.
- PS_RWResourceΒΆ
The resource is being used as a read-write resource in the
pixel shader.
- CS_RWResourceΒΆ
The resource is being used as a read-write resource in the
compute shader.
- TS_RWResourceΒΆ
The resource is being used as a read-write resource in the amplification or
task shader.
- MS_RWResourceΒΆ
The resource is being used as a read-write resource in the
mesh shader.
- All_RWResourceΒΆ
The resource is being used as a read-write resource in all shader stages.
- InputTargetΒΆ
The resource is being read as an input target for reading from the target currently being written.
- ColorTargetΒΆ
The resource is being written to as a color output.
- DepthStencilTargetΒΆ
The resource is being written to and tested against as a depth-stencil output.
- IndirectΒΆ
The resource is being used for indirect arguments.
- ClearΒΆ
The resource is being cleared.
- DiscardΒΆ
The resource contents are discarded explicitly or implicitly.
- GenMipsΒΆ
The resource is having mips generated for it.
- ResolveΒΆ
The resource is being resolved or blitted, as both source and destination.
- ResolveSrcΒΆ
The resource is being resolved or blitted from.
- ResolveDstΒΆ
The resource is being resolved or blitted to.
- CopyΒΆ
The resource is being copied, as both source and destination.
- CopySrcΒΆ
The resource is being copied from.
- CopyDstΒΆ
The resource is being copied to.
- BarrierΒΆ
The resource is being specified in a barrier, as defined in Vulkan or Direct3D 12.
- CPUWriteΒΆ
The resource is written from the CPU, either directly as mapped memory or indirectly via a synchronous update.
- renderdoc.ResUsage(stage)ΒΆ
Calculate the
ResourceUsagevalue for read-only resource use at a given shader stage.- Parameters:
stage# (ShaderStage) β The shader stage.
- Returns:
The value for read-only resource usage at a given shader stage.
- Return type:
- renderdoc.RWResUsage(stage)ΒΆ
Calculate the
ResourceUsagevalue for read-write resource use at a given shader stage.- Parameters:
stage# (ShaderStage) β The shader stage.
- Returns:
The value for read-write resource usage at a given shader stage.
- Return type:
- renderdoc.CBUsage(stage)ΒΆ
Calculate the
ResourceUsagevalue for constant buffer use at a given shader stage.- Parameters:
stage# (ShaderStage) β The shader stage.
- Returns:
The value for constant buffer usage at a given shader stage.
- Return type:
Texture SavingΒΆ
- class renderdoc.TextureSaveΒΆ
- class renderdoc.TextureSave(other: TextureSave)
Describes a texture to save and how to map it to the destination file format.
- alphaΒΆ
Controls handling of alpha channel, only relevant for file formats that donβt have alpha.
It is an
AlphaMappingthat controls what behaviour to use.- Type:
- alphaColΒΆ
The background color if
alphais set toAlphaMapping.BlendToColor.- Type:
- channelExtractΒΆ
Selects a single component out of a texture to save as grayscale, or -1 to save all.
- Type:
int
- compΒΆ
Controls black/white point mapping for output formats that are normal
8-bit SRGB, values are truncated so that values below the black point and above the white point are clamped, and the values in between are evenly distributed.- Type:
- jpegQualityΒΆ
The quality to use when saving to a
JPGfile. Valid values are between 1 and 100.- Type:
int
- mipΒΆ
Selects the mip to be written out.
If set to
-1then all mips are written, where allowed by file format. If not allowed, mip 0 is written- Type:
int
- resourceIdΒΆ
The
ResourceIdof the texture to save.- Type:
- sampleΒΆ
Controls mapping for multisampled textures (ignored if texture is not multisampled)
- Type:
- sliceΒΆ
Controls mapping for arrayed textures (ignored if texture is not arrayed)
- Type:
- typeCastΒΆ
If possible interpret the texture with this type instead of its normal type.
If set to
CompType.Typelessthen no cast is applied, otherwise where allowed the texture data will be reinterpreted - e.g. from unsigned integers to floats, or to unsigned normalised values.- Type:
- class renderdoc.FileType(value)ΒΆ
The format of an image file
- DDSΒΆ
A DDS file
- PNGΒΆ
A PNG file
- JPGΒΆ
A JPG file
- BMPΒΆ
A BMP file
- TGAΒΆ
A TGA file
- HDRΒΆ
An HDR file
- EXRΒΆ
An EXR file
- RawΒΆ
Raw data, just the bytes of the image tightly packed with no metadata or compression/encoding
- class renderdoc.AlphaMapping(value)ΒΆ
What to do with the alpha channel from a texture while saving out to a file.
- DiscardΒΆ
Completely discard the alpha channel and only write RGB to the file.
- BlendToColorΒΆ
Blend to the primary background color using alpha.
- BlendToCheckerboardΒΆ
Blend to a checkerboard pattern with the primary and secondary background colors.
- PreserveΒΆ
Preserve the alpha channel and save it to the file by itself.
This is only valid for file formats that support alpha channels.
- class renderdoc.TextureComponentMappingΒΆ
- class renderdoc.TextureComponentMapping(other: TextureComponentMapping)
How to map components to normalised
[0, 255]for saving to 8-bit file formats.- blackPointΒΆ
The value that should be mapped to
0- Type:
float
- whitePointΒΆ
The value that should be mapped to
255- Type:
float
- class renderdoc.TextureSampleMappingΒΆ
- class renderdoc.TextureSampleMapping(other: TextureSampleMapping)
How to map multisampled textures for saving to non-multisampled file formats.
- ResolveSamplesΒΆ
Value for
sampleIndexif the samples should be averaged.
- mapToArrayΒΆ
Trueif the samples should be mapped to array slices. A multisampled array expands each slice in-place, so it would be slice 0: sample 0, slice 0: sample 1, slice 1: sample 0, etc.This then follows the mapping for array slices as with any other array texture.
sampleIndexis ignored.- Type:
bool
- sampleIndexΒΆ
If
mapToArrayisFalsethis selects which sample should be extracted to treat as a normal 2D image. If set toResolveSamplesthen instead thereβs a default average resolve.- Type:
int
- class renderdoc.TextureSliceMappingΒΆ
- class renderdoc.TextureSliceMapping(other: TextureSliceMapping)
How to map array textures for saving to non-arrayed file formats.
If
sliceIndexis -1,cubeCruciform==slicesAsGrid==Falseand the file format doesnβt support saving all slices, only slice 0 is saved.- cubeCruciformΒΆ
Write out 6 slices in a cruciform pattern:
+----+ | +y | | | +----+----+----+----+ | -x | +z | +x | -z | | | | | | +----+----+----+----+ | -y | | | +----+
With the gaps filled in with transparent black.
- Type:
bool
- sliceGridWidthΒΆ
The width of a grid if
slicesAsGridisTrue.- Type:
int
- sliceIndexΒΆ
Selects the (depth/array) slice to save.
If this is -1, then all slices are written out as detailed below. This is only supported in formats that donβt support slices natively, and will be done in RGBA8.
- Type:
int
- slicesAsGridΒΆ
If
True, write out the slices as a 2D grid with the width given insliceGridWidth. Any empty slices in the grid are written as transparent black.- Type:
bool
Pixel HistoryΒΆ
- class renderdoc.PixelModificationΒΆ
- class renderdoc.PixelModification(other: PixelModification)
An attempt to modify a pixel by a particular event.
- CheckDepthTestQuantised(depthBits, depthFunc)ΒΆ
Update the depth-test failure state based on known shader output depth value and
preModreference value, quantised to a certain number of depth bits with epsilon.This is primarily used internally and should not be needed to be called externally.
- Parameters:
depthBits# (int) β How many bits are in the depth buffer: 16, 24 or 32.
depthFunc# (CompareFunction) β The comparison function active for the depth test
- Passed()ΒΆ
Determine if this fragment passed all tests and wrote to the texture.
- Returns:
Trueif it passed all tests,Falseif it failed any.- Return type:
bool
- backfaceCulledΒΆ
Trueif the backface culling test eliminated this fragment.- Type:
bool
- depthBoundsFailedΒΆ
Trueif depth bounds clipping eliminated this fragment.- Type:
bool
- depthClippedΒΆ
Trueif depth near/far clipping eliminated this fragment.- Type:
bool
- depthTestFailedΒΆ
Trueif depth testing eliminated this fragment.- Type:
bool
- directShaderWriteΒΆ
Trueif this event came as part of an arbitrary shader write.- Type:
bool
- fragIndexΒΆ
A 0-based index of which fragment this modification corresponds to, in the case that multiple fragments from a single action wrote to a pixel.
- Type:
int
- postModΒΆ
The value of the texture after this fragment ran.
- Type:
- preModΒΆ
The value of the texture before this fragment ran.
This is valid only for the first fragment if multiple fragments in the same event write to the same pixel.
- Type:
- predicationSkippedΒΆ
Trueif predicated rendering skipped this call.- Type:
bool
- primitiveIDΒΆ
The primitive that generated this fragment.
- Type:
int
- sampleMaskedΒΆ
Trueif the sample mask eliminated this fragment.- Type:
bool
- scissorClippedΒΆ
Trueif scissor clipping eliminated this fragment.- Type:
bool
- shaderDiscardedΒΆ
Trueif the pixel shader executed a discard on this fragment.- Type:
bool
- shaderOutΒΆ
The value that this fragment wrote from the pixel shader.
- Type:
- stencilTestFailedΒΆ
Trueif stencil testing eliminated this fragment.- Type:
bool
- unboundPSΒΆ
Trueif no pixel shader was bound at this event. On D3D APIs this may also mean a pixel shader exists but declares no output for the corresponding target and so is skipped.On other APIs this is only reported if the pixel shader is entirely unbound but this means the output may have undefined values.
- Type:
bool
- viewClippedΒΆ
Trueif viewport clipping eliminated this fragment.- Type:
bool
- class renderdoc.ModificationValueΒΆ
- class renderdoc.ModificationValue(other: ModificationValue)
The value of pixel output at a particular event.
- IsValid()ΒΆ
- Returns:
Returns whether or not this modification value is valid.
- Return type:
bool
- SetInvalid()ΒΆ
Sets this modification value to be invalid.
- colΒΆ
The color value.
If the modifications are for a color target, the contents will all be
0.- Type:
- depthΒΆ
The depth value.
If depth is not available/in-use for this modification, it will be
-1.0.- Type:
float
- stencilΒΆ
The stencil value.
If stencil is not available for this modification, it will be negative. If stencil is not available at all and not in use then the stencil value will be
-1. If stencil was in use but canβt be determined due to the pixel history implementation using stencil for its own purposes, the value will be-2. This will only happen when looking at multiple modifications from the same event.- Type:
int
- class renderdoc.PixelValueΒΆ
- class renderdoc.PixelValue(other: CounterValue)
The contents of an RGBA pixel.
- floatValueΒΆ
The RGBA value interpreted as
float.- Type:
Tuple[float, float, float, float]
- intValueΒΆ
The RGBA value interpreted as 32-bit signed integer.
- Type:
Tuple[int, int, int, int]
- uintValueΒΆ
The RGBA value interpreted as 32-bit unsigned integer.
- Type:
Tuple[int, int, int, int]
Shader DebuggingΒΆ
- class renderdoc.DebugPixelInputsΒΆ
- class renderdoc.DebugPixelInputs(other: DebugPixelInputs)
Contains the properties used to select which fragment to debug, used as an input to
ReplayController.DebugPixel().- primitiveΒΆ
The primitive index.
- Type:
int
- sampleΒΆ
The multi-sampled sample.
- Type:
int
- viewΒΆ
The layered or multiview rendering view index.
- Type:
int