I'm currently trying to figure out how i would get a StructuredBuffer in HLSL using the ShaderReflection API. I'm reading Practical Rendering and Computation by Jason Zink but the ShaderReflection part doesn't seem to talk about the different buffers. I don't have access to my development computer right now so just wanted to ask here if there's a way for me to check if what i'm getting is a structured buffer and if there's a way of knowing how big that buffer is?
The D3D_CBUFFER_TYPE only defines CBUFFER and TBUFFER but it there's none about structured and byte-address buffers. I'm guessing these buffers are just CBUFFER? If they are, is there a way for me to know if its a StructuredBuffer type?