Condividi tramite


Funzione D3D10ReflectShader (d3d10shader.h)

Questa funzione , che crea un oggetto shader-reflection per il recupero di informazioni su uno shader compilato, è stato deprecato. Usare invece D3DReflect.

Sintassi

HRESULT D3D10ReflectShader(
  [in]  const void             *pShaderBytecode,
  [in]  SIZE_T                 BytecodeLength,
  [out] ID3D10ShaderReflection **ppReflector
);

Parametri

[in] pShaderBytecode

Tipo: const void*

Puntatore allo shader compilato.

[in] BytecodeLength

Tipo: SIZE_T

Lunghezza di pShaderBytecode.

[out] ppReflector

Tipo: ID3D10ShaderReflection**

Indirizzo di un'interfaccia di reflection.

Valore restituito

Tipo: HRESULT

Valore restituito.

Requisiti

Requisito Valore
Piattaforma di destinazione Windows
Intestazione d3d10shader.h
Libreria D3D10.lib
DLL D3D10.dll

Vedi anche

Funzioni shader