CG with MDX?
Can CG be done in Managed DirectX or do I have to wrap it first? It shouldn't be at all hard to wrap seeing as it's a C interface - right?
I know this is skirting the issue, but why don't you just use HLSL? The two languages are practically identical, except that with HLSL, you have the full support of D3DX.
Here is a wrapper for Cg in C#, but it uses OpenGL (I couldn't find a DX one). However, it should serve as a good starting base for you, if you decide to persue that route.
Here is a wrapper for Cg in C#, but it uses OpenGL (I couldn't find a DX one). However, it should serve as a good starting base for you, if you decide to persue that route.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement