0

I can use GetConstantBufferByIndex to get a pointer to an ID3D11ShaderReflectionConstantBuffer which will allow me to enumerate the members of a cbuffer, but for a tbuffer, I can't find any corresponding function in the D3D Reflection APIs.

Am I missing something or does the reflection system not have a way to enumerate these?

Charlie Skilbeck
  • 1,081
  • 2
  • 15
  • 38

1 Answers1

0

GetConstantBufferByIndex returns both cbuffers and tbuffers. In D3D's terminology they are both "constant buffers".

Adam Miles
  • 3,504
  • 17
  • 15