从openGL屏幕上删除打印的消息 [英] Remove the printed message from openGL screen

查看:107
本文介绍了从openGL屏幕上删除打印的消息的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好,

我正在使用openGL在Visual c ++ 6.0中制作GUI.
为了在openGL屏幕上打印字符,我们使用glprint命令.
是否有任何命令可以清除我们已打印的内容.
例如,如果我在openGL中给出打印命令;

Hello,

I am making a GUI in visual c++6.0 using openGL.
For printing the characters on the openGL screen, we make use of glprint command.
Is there any command which can clear off what we have printed.
For example, if I give a print command in openGL;

glprint(10,20,"123",0);



现在,如果要删除屏幕上打印的内容,应该使用哪个命令?

谢谢,

Timkee



Now if I want to remove what I have printed on screen, which command shall I use?

Thanks,

Timkee

推荐答案

您的意思没有删除"方法.您只需要在上面画些东西.
There is no "delete" method it in the way you mean it. You just have to draw something on it.


这篇关于从openGL屏幕上删除打印的消息的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆