ID3D11ShaderReflection::GetVariableByName Method

Gets a variable by name.

Syntax

ID3D11ShaderReflectionVariable* GetVariableByName(
  [in]  LPCSTR *Name
);

Parameter

  • Name [in]
    Typ: LPCSTR*

    A pointer to a string containing the variable name.

Rückgabewert

Typ: ID3D11ShaderReflectionVariable

Returns a ID3D11ShaderReflectionVariable Interface interface.

Hinweise

This method's interface is hosted in the out-of-box DLL D3DCompiler_xx.dll.

Anforderungen

Header

D3D11Shader.h

Bibliothek

D3DCompiler.lib or D3DCompiler_xx.dll

Siehe auch

ID3D11ShaderReflection Interface