Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

ID3D11ShaderReflection::GetVariableByName method

Gets a variable by name.

Syntax


ID3D11ShaderReflectionVariable* GetVariableByName(
  [in] LPCSTR Name
);

Parameters

Name [in]

Type: LPCSTR

A pointer to a string containing the variable name.

Return value

Type: ID3D11ShaderReflectionVariable*

Returns a ID3D11ShaderReflectionVariable Interface interface.

Remarks

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

Requirements

Header

D3D11Shader.h

Library

D3DCompiler.lib

DLL

D3DCompiler_47.dll

See also

ID3D11ShaderReflection Interface

 

 

Show:
© 2017 Microsoft