D3D10_SHADER_DEBUG_VAR_INFO structure (d3d10_1shader.h)

Represents information about a shader source variable.

Syntax

typedef struct _D3D10_SHADER_DEBUG_VAR_INFO {
  UINT                       TokenId;
  D3D10_SHADER_VARIABLE_TYPE Type;
  UINT                       Register;
  UINT                       Component;
  UINT                       ScopeVar;
  UINT                       ScopeVarOffset;
} D3D10_SHADER_DEBUG_VAR_INFO;

Members

TokenId

Type: UINT

Index into token list for declaring identifier.

Type

Type: D3D10_SHADER_VARIABLE_TYPE

The variable type. Type is only required for arrays.

Register

Type: UINT

Register the variable is stored in.

Component

Type: UINT

The original variable that declared this variable.

ScopeVar

Type: UINT

Offset into the scope variable array defined in D3D10_SHADER_DEBUG_INFO.

ScopeVarOffset

Type: UINT

This variable's offset in its ScopeVar.

Requirements

   
Header d3d10_1shader.h (include D3D10Shader.h)

See also

Shader Structures