struttura D3D10_SHADER_DEBUG_INFO (d3d10_1shader.h)
Descrive il formato dell'interfaccia ID3D10Blob restituito da D3D10GetShaderDebugInfo.
Sintassi
typedef struct _D3D10_SHADER_DEBUG_INFO {
UINT Size;
UINT Creator;
UINT EntrypointName;
UINT ShaderTarget;
UINT CompileFlags;
UINT Files;
UINT FileInfo;
UINT Instructions;
UINT InstructionInfo;
UINT Variables;
UINT VariableInfo;
UINT InputVariables;
UINT InputVariableInfo;
UINT Tokens;
UINT TokenInfo;
UINT Scopes;
UINT ScopeInfo;
UINT ScopeVariables;
UINT ScopeVariableInfo;
UINT UintOffset;
UINT StringOffset;
} D3D10_SHADER_DEBUG_INFO;
Members
Size
Tipo: UINT
Dimensioni di questa struttura.
Creator
Tipo: UINT
Offset su LPCSTR per la versione del compilatore.
EntrypointName
Tipo: UINT
Offset su LPCSTR per il nome del punto di ingresso.
ShaderTarget
Tipo: UINT
Offset su LPCSTR per la destinazione shader.
CompileFlags
Tipo: UINT
Flag usati per la compilazione.
Files
Tipo: UINT
Numero di file inclusi.
FileInfo
Tipo: UINT
Offset alla matrice di strutture D3D10_SHADER_DEBUG_FILE_INFO con elementi Files .
Instructions
Tipo: UINT
Numero di istruzioni.
InstructionInfo
Tipo: UINT
Offset alla matrice di strutture D3D10_SHADER_DEBUG_INST_INFO con elementi Istruzioni .
Variables
Tipo: UINT
Numero di variabili.
VariableInfo
Tipo: UINT
Offset alla matrice di strutture D3D10_SHADER_DEBUG_VAR_INFO con elementi Variabili .
InputVariables
Tipo: UINT
Numero di variabili da inizializzare prima dell'esecuzione.
InputVariableInfo
Tipo: UINT
Offset alla matrice di strutture D3D10_SHADER_DEBUG_INPUT_INFO con elementi InputVariables .
Tokens
Tipo: UINT
Numero di token da inizializzare.
TokenInfo
Tipo: UINT
Offset alla matrice di strutture D3D10_SHADER_DEBUG_TOKEN_INFO con elementi Token .
Scopes
Tipo: UINT
Numero di ambiti.
ScopeInfo
Tipo: UINT
Offset alla matrice di strutture D3D10_SHADER_DEBUG_SCOPE_INFO con elementi Scopes .
ScopeVariables
Tipo: UINT
Numero di variabili dichiarate.
ScopeVariableInfo
Tipo: UINT
Offset alla matrice di strutture D3D10_SHADER_DEBUG_SCOPEVAR_INFO con elementi Scopes .
UintOffset
Tipo: UINT
Offset nell'archivio dati UINT, tutti gli offset UINT provengono da questa offset.
StringOffset
Tipo: UINT
Offset nell'archivio dati stringa, tutti gli offset di stringa provengono da questa offset.
Requisiti
Requisito | Valore |
---|---|
Intestazione | d3d10_1shader.h (includere D3D10Shader.h) |