Condividi tramite


struttura D3D10_SHADER_DEBUG_SCOPEVAR_INFO (d3d10_1shader.h)

Descrive una variabile di ambito dello shader.

Sintassi

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

Tipo: UINT

Indice in token variabile.

VarType

Tipo: D3D10_SHADER_DEBUG_VARTYPE

Indica se si tratta di una variabile o di una funzione.

Class

Tipo: D3D10_SHADER_VARIABLE_CLASS

Indica la classe di variabili.

Rows

Tipo: UINT

Numero di righe per le matrici.

Columns

Tipo: UINT

Numero di colonne per vettori o matrici.

StructMemberScope

Tipo: UINT

Fornisce un ambito per cercare i membri struct. Questo membro sarà -1 se D3D10_SHADER_DEBUG_SCOPEVAR_INFO non fa riferimento a uno struct.

uArrayIndices

Tipo: UINT

Numero di indici di matrice. Ad esempio, una matrice tridimensionale avrà un valore pari a 3 per uArrayIndices.

ArrayElements

Tipo: UINT

Offset in una matrice di valori UINT uArrayIndices long. La matrice contiene il valore massimo per ogni indice. Ad esempio, una matrice a[3][2][1] avrà i valori {3,2,1} in corrispondenza dell'offset a cui punta ArrayElements.

ArrayStrides

Tipo: UINT

Offset in una matrice di valori UINT uArrayIndices long. La matrice contiene lo stride per ogni indice di matrice. Ad esempio, una matrice a[3][2][1] avrà i valori {2,1,1} in corrispondenza dell'offset a cui punta ArrayStrides.

uVariables

Tipo: UINT

Numero di variabili.

uFirstVariable

Tipo: UINT

Indice della prima variabile, le variabili successive sono offset rispetto a questo.

Commenti

La struttura D3D10_SHADER_DEBUG_SCOPEVAR_INFO viene utilizzata con la struttura D3D10_SHADER_DEBUG_INFO .

Requisiti

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

Vedi anche

Strutture shader