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.
有谁知道在 Cocoa NSOpenGLView 中绘制任意文本的简单方法?我有几个限制。
您看过Cocoa OpenGL 示例代码吗?它包括“字符串的纹理类,展示了如何使用 NSImage 将字符串写入其中,然后从中进行纹理以实现高质量的字体渲染。”