DirectX Visualizer
3D Solutions
01 April 2009
14 of 26
©2005-2009 Philips Electronics Nederland B.V.
Condition
Condition
Condition
Condition
Possible values
Possible values
Possible values
Possible values
Description
Description
Description
Description
count
n=<positive integer>
the n-th Clear operation that matches the other conditions will be
used to grab the depth information
c=<32-bit hex value>
match only Clear operations that clear the color buffer to this value
c
match only Clear operations that clear the color buffer
color
!c
match only Clear operations that do not clear the color buffer
z=<float value>
match only Clear operations that clear the Z-buffer to this value
z
match only Clear operations that clear the Z-buffer
depth
!z
match only Clear operations that do not clear the Z-buffer
s=<32-bit hex value>
match only Clear operations that clear the stencil buffer to this value
s
match only Clear operations that clear the stencil buffer
stencil
!s
match only Clear operations that do not clear the stencil buffer
rendertargetordinal rto=<positive integer>
match only Clear operations that are done while the last call to
SetRenderTarget selected the n-th unique render target set in the
first frame that used n or more unique render targets.
3
rendertargetindex
rti=<positive integer>
match only Clear operations that are done while the last call to
SetRenderTarget selected a render target for index n.
rendertargetwidth
rtw=<positive integer>
match only Clear operations that are done while the last call to
SetRenderTarget selected a render target with the specified width.
rendertargetheight
rth=<positive integer>
match only Clear operations that are done while the last call to
SetRenderTarget selected a render target with the specified height.
depthstencilordinal
dso=<positive integer>
match only Clear operations that are done while the last call to
SetDepthStencilSurface selected the n-th unique depth stencil surface
set in the first frame that used n or more unique depth stencil
surfaces.
3
depthstencilwidth
dsw=<positive integer> match only Clear operations that are done while the last call to
SetDepthStencilSurface selected a depth stencil surface with the
specified width.
depthstencilheight
dsh=<positive integer>
match only Clear operations that are done while the last call to
SetDepthStencilSurface selected a depth stencil surface with the
specified height.
3
If the depth trigger condition contains a rendertargetordinal condition, the visualizer will start counting unique
render targets set with SetRenderTarget. If the number of unique render targets at the end of a frame is less
than the specified number, the count will restart in the next frame. Once enough unique render targets are used
within one frame, the render target that corresponds to the specified number will be stored and used in the
evaluation of the depth trigger condition in all later frames. The depthstencilordinal condition is handled in a
similar way.