|
|
我可以在"vertex shader_顶点脚本(VS)“中使用"tex2D_二维纹理"么?
”tex2D_二维纹理"将在vs_3_0及更高级别被支持,你可以在支持VS 3.0以上的HLSL或CG教程中找到相应的函数。
/**************************/
Can I use tex2D in a vertex shader?
tex2D will be supported in the vs_3_0 vertex profile and beyond in HLSL and in Cg, as it is a requirement of Vertex Shaders 3.0 and beyond. Similar functionality will be available in Cg's OpenGL profiles.
|
|