책에서는 Root Signature Parameter를 Descriptor Table로 설정했으므로 아래와 같이 바인딩 한다.
- Root Signature 0번째 파라메타에 Descriptor Table을 등록한다고 정의했으므로 Command List에 위와 같이 등록한다.
- 여기서 주의할점은 Descriptor Table의 경우 Descriptor Heap을 미리 등록해두고 사용해야 한다.
- 이것도 응용프로그램에 따라 다르겠지만, 보통 SetDescriptorHeaps는 오버헤드가 큰 함수중에 하나이므로 커다란 Descriptor Heap들을 한번에 등록하곤 한다.