请输入您要查询的百科知识:

 

词条 gluQuadricCallback
释义

gluQuadricCallback

NAME

gluQuadricCallback -- define a callback for a quadrics object

C SPECIFICATION

void gluQuadricCallback(GLUquadricObj *qobj,

GLenum which,

void (*fn)() )

PARAMETERS

qobj

Specifies the quadrics object (created with gluNewQuadric)

which

Specifies the callback being defined. The only valid value is GLU_ERROR.

fn

Specifies the function to be called.

DESCRIPTION

gluQuadricCallback 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 fn is NULL, then any existing callback is erased.

The one legal callback is GLU_ERROR:

GLU_ERROR

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 gluErrorString call.

随便看

 

百科全书收录4421916条中文百科知识,基本涵盖了大多数领域的百科知识,是一部内容开放、自由的电子版百科全书。

 

Copyright © 2004-2023 Cnenc.net All Rights Reserved
更新时间:2025/3/1 16:53:29