struttura D3D10_EFFECT_SHADER_DESC (d3d10effect.h)
Descrive uno shader degli effetti.
Sintassi
typedef struct _D3D10_EFFECT_SHADER_DESC {
const BYTE *pInputSignature;
BOOL IsInline;
const BYTE *pBytecode;
UINT BytecodeLength;
LPCSTR SODecl;
UINT NumInputSignatureEntries;
UINT NumOutputSignatureEntries;
} D3D10_EFFECT_SHADER_DESC;
Members
pInputSignature
Tipo: const BYTE*
Passato in CreateInputLayout. Valido solo in un vertex shader o in uno shader geometry. Vedere ID3D10Device_CreateInputLayout.
IsInline
Tipo: BOOL
TRUE è che lo shader è definito inline; in caso contrario FALSE.
pBytecode
Tipo: const BYTE*
Puntatore allo shader compilato.
BytecodeLength
Tipo: UINT
Lunghezza di pBytecode.
SODecl
Tipo: LPCSTR
Stringa contenente una dichiarazione dell'output del flusso da uno shader geometry.
NumInputSignatureEntries
Tipo: UINT
Numero di voci nella firma di input.
NumOutputSignatureEntries
Tipo: UINT
Numero di voci nella firma di output.
Commenti
Per ottenere una descrizione dell'effetto shader, chiamare ID3D10EffectShaderVariable::GetShaderDesc.
Requisiti
Requisito | Valore |
---|---|
Intestazione | d3d10effect.h (include D3D10.h) |