quadriccallback.html
来自「计算机图形学~想必是很多人需要的~在此共享一下」· HTML 代码 · 共 59 行
HTML
59 行
<HTML><BODY><PRE> <STRONG>NAME</STRONG> <STRONG>gluQuadricCallback</STRONG> - define a callback for a quadrics object <STRONG>C</STRONG> <STRONG>SPECIFICATION</STRONG> void <STRONG>gluQuadricCallback</STRONG>( GLUquadric* <EM>quad</EM>, GLenum <EM>which</EM>, GLvoid (*<EM>CallBackFunc</EM>)( ) <STRONG>PARAMETERS</STRONG> <EM>quad</EM> Specifies the quadrics object (created with <STRONG>gluNewQuadric</STRONG>). <EM>which</EM> Specifies the callback being defined. The only valid value is <STRONG>GLU_ERROR</STRONG>. <EM>CallBackFunc</EM> Specifies the function to be called. <STRONG>DESCRIPTION</STRONG> <STRONG>gluQuadricCallback</STRONG> is used to define a new callback to be used by a quadrics object. If the specified callback is already defined, then it is replaced. If <EM>CallBackFunc</EM> is NULL, then any existing callback is erased. The one legal callback is <STRONG>GLU_ERROR</STRONG>: <STRONG>GLU_ERROR</STRONG> The function is called when an error is encountered. Its single argument is of type GLenum, and it indicates the specific error that occurred. Character strings describing these errors can be retrieved with the <STRONG>gluErrorString</STRONG> call. <STRONG>SEE</STRONG> <STRONG>ALSO</STRONG> <STRONG>gluErrorString</STRONG>, <STRONG>gluNewQuadric</STRONG></PRE></BODY></HTML>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?