netie

Hi,

How I can determine does the loaded effect have PixelShader or VertexShader functions Is it possible using Effect class

Thank you,
Mike.


Re: XNA Framework How to determine type of the shader

netie

To clarify what I am looking for, in MDX I used PassDescription.PixelShaderFunction and PassDescription.VertexShaderFunction to find out does the effect have pixel and vertex shaders. Is there any equivalents in XNA or any work around for this

Mike.




Re: XNA Framework How to determine type of the shader

Mitch Walker - MSFT

I don't believe we expose this information in v1.0. Could you describe what you'd like to do with this information It's something we can consider in a future release.