Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
Line有没有办法在 XNA 4.0 中为基元设置线宽?
Line
在 OpenGL 中,相当于 glLineWidth();
不,您必须每行创建两个三角形才能获得它。
这里向 OpenGL 用户解释并提供代码解决方案:
http://bobobobo.wordpress.com/2009/02/16/drawing-primitives-in-xna-from-a-vertex-buffer/