Describes a trace value.
typedef struct D3D11_TRACE_VALUE {
UINT Bits[4];
D3D11_TRACE_COMPONENT_MASK ValidMask;
} D3D11_TRACE_VALUE;
Bits
An array of bits that make up the trace value. The [0] element is X.
Note This member can hold float, UINT, or INT data. The elements are specified as UINT rather than using a union to minimize the risk of x86 SNaN->QNaN quashing during float assignment. If the bits are displayed, they can be interpreted as float at the last moment.
ValidMask
A combination of the following component values that are combined by using a bitwise OR operation. The resulting value specifies the component trace mask.
| Flag | Description |
|---|---|
| D3D11_TRACE_COMPONENT_X (0x1) | The x component of the trace mask. |
| D3D11_TRACE_COMPONENT_Y (0x2) | The y component of the trace mask. |
| D3D11_TRACE_COMPONENT_Z (0x4) | The depth z component of the trace mask. |
| D3D11_TRACE_COMPONENT_W (0x8) | The depth w component of the trace mask. |
Ignore unmasked values, particularly if deltas are accumulated.
Header: Declared in d3d11shadertracing.h.
Library: Use d3d11.lib.