D3D10_SHADER_DEBUG_SCOPEVAR_INFO structure (d3d10_1shader.h)

Describes a shader scope variable.

Syntax

typedef struct _D3D10_SHADER_DEBUG_SCOPEVAR_INFO {
  UINT                        TokenId;
  D3D10_SHADER_DEBUG_VARTYPE  VarType;
  D3D10_SHADER_VARIABLE_CLASS Class;
  UINT                        Rows;
  UINT                        Columns;
  UINT                        StructMemberScope;
  UINT                        uArrayIndices;
  UINT                        ArrayElements;
  UINT                        ArrayStrides;
  UINT                        uVariables;
  UINT                        uFirstVariable;
} D3D10_SHADER_DEBUG_SCOPEVAR_INFO;

Members

TokenId

Type: UINT

Index into variable token.

VarType

Type: D3D10_SHADER_DEBUG_VARTYPE

Indicates whether this is a variable or function.

Class

Type: D3D10_SHADER_VARIABLE_CLASS

Indicates the variable class.

Rows

Type: UINT

Number of row for matrices.

Columns

Type: UINT

Number of columns for vectors or matrices.

StructMemberScope

Type: UINT

Gives a scope to look up struct members. This member will be -1 if D3D10_SHADER_DEBUG_SCOPEVAR_INFO does not refer to a struct.

uArrayIndices

Type: UINT

Number of array indices. For example a three dimensional array would have a value of 3 for uArrayIndices.

ArrayElements

Type: UINT

Offset to an array of UINT values uArrayIndices long. The array contains the maximum value for each index. For example an array a[3][2][1] would have the values {3,2,1} at the offset pointed to by ArrayElements.

ArrayStrides

Type: UINT

Offset to an array of UINT values uArrayIndices long. The array contains the stride for each array index. For example an array a[3][2][1] would have the values {2,1,1} at the offset pointed to by ArrayStrides.

uVariables

Type: UINT

Number of variables.

uFirstVariable

Type: UINT

Index of the first variable, later variables are offsets from this one.

Remarks

The D3D10_SHADER_DEBUG_SCOPEVAR_INFO structure is used with the D3D10_SHADER_DEBUG_INFO structure.

Requirements

Requirement Value
Header d3d10_1shader.h (include D3D10Shader.h)

See also

Shader Structures