다음을 통해 공유


ID3D11ShaderReflectionConstantBuffer::GetVariableByIndex 메서드(d3d11shader.h)

인덱스별로 셰이더 리플렉션 변수를 가져옵니다.

구문

ID3D11ShaderReflectionVariable * GetVariableByIndex(
  [in] UINT Index
);

매개 변수

[in] Index

형식: UINT

인덱스(0부터 시작)입니다.

반환 값

형식: ID3D11ShaderReflectionVariable*

셰이더 리플렉션 변수 인터페이스에 대한 포인터입니다( ID3D11ShaderReflectionVariable Interface 참조).

설명

이 메서드의 인터페이스는 기본 제공 DLL D3DCompiler_xx.dll 호스트됩니다.

요구 사항

   
대상 플랫폼 Windows
헤더 d3d11shader.h
라이브러리 D3DCompiler.lib
DLL D3DCompiler_47.dll

추가 정보

ID3D11ShaderReflectionConstantBuffer 인터페이스