ID3D12ShaderReflectionConstantBuffer::GetVariableByIndex 메서드(d3d12shader.h)
인덱스별로 셰이더 리플렉션 변수를 가져옵니다.
구문
ID3D12ShaderReflectionVariable * GetVariableByIndex(
[in] UINT Index
);
매개 변수
[in] Index
형식: UINT
인덱스(0부터 시작)입니다.
반환 값
형식: ID3D12ShaderReflectionVariable*
셰이더 리플렉션 변수 인터페이스에 대한 포인터입니다( ID3D12ShaderReflectionVariable 인터페이스 참조).
설명
이 메서드의 인터페이스는 기본 제공 DLL D3DCompiler_xx.dll 호스트됩니다.
요구 사항
대상 플랫폼 | Windows |
헤더 | d3d12shader.h |