Condividi tramite


struttura D3D10_SHADER_DEBUG_VAR_INFO (d3d10_1shader.h)

Rappresenta informazioni su una variabile di origine dello shader.

Sintassi

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

Tipo: UINT

Indice nell'elenco di token per la dichiarazione dell'identificatore.

Type

Tipo: D3D10_SHADER_VARIABLE_TYPE

Tipo di variabile. Il tipo è obbligatorio solo per le matrici.

Register

Tipo: UINT

Registrare la variabile in .

Component

Tipo: UINT

Variabile originale che ha dichiarato questa variabile.

ScopeVar

Tipo: UINT

Offset nella matrice di variabili di ambito definita in D3D10_SHADER_DEBUG_INFO.

ScopeVarOffset

Tipo: UINT

Offset di questa variabile in ScopeVar.

Requisiti

Requisito Valore
Intestazione d3d10_1shader.h (includere D3D10Shader.h)

Vedi anche

Strutture shader