Reflection HLSL反射-如何获取tbuffer的成员?

Reflection HLSL反射-如何获取tbuffer的成员?,reflection,direct3d,hlsl,Reflection,Direct3d,Hlsl,我可以使用GetConstantBufferByIndex获取指向ID3D11ShaderReflectionConstantBuffer的指针,这将允许我枚举cbuffer的成员,但对于tbuffer,我在D3D反射API中找不到任何相应的函数 我是否遗漏了一些内容,或者反射系统没有办法枚举这些内容?GetConstantBufferByIndex同时返回cbuffers和tbuffers。在D3D的术语中,它们都是常量缓冲区

我可以使用GetConstantBufferByIndex获取指向ID3D11ShaderReflectionConstantBuffer的指针,这将允许我枚举cbuffer的成员,但对于tbuffer,我在D3D反射API中找不到任何相应的函数


我是否遗漏了一些内容,或者反射系统没有办法枚举这些内容?

GetConstantBufferByIndex同时返回cbuffers和tbuffers。在D3D的术语中,它们都是常量缓冲区