does anyone happen to know how to work with ID3D10ShaderReflection and D3DReflect()?
I have checked the documentation, but it's not really clear to me.
Here's the documentation's example:
pPixelShaderBuffer->GetBufferSize(), g_pPSClassLinkage, &g_pPixelShader );
ID3D11ShaderReflection* pReflector = NULL;
D3DReflect( pPixelShaderBuffer->GetBufferPointer(), pPixelShaderBuffer->GetBufferSize(),
IID_ID3D11ShaderReflection, (void**) &pReflector);
But I'm not working with creating my own pixel shaders inside DirectX at all. I'm just working with effects and techniques.
(ID3D10Effect* m_pEffect) etc.
Can I retrieve the information I need from those or how is it supposed to work?