[ Previous | Next | Contents | Glossary | Home | Search ]
GL3.2 for AIX: Graphics Library (GL) Technical Reference

closeobj Subroutine


Closes an object.


Graphics Library

C (libgl.a)

FORTRAN (libfgl.a)

C Syntax

void closeobj( )




The closeobj subroutine closes an open object definition. Use the makeobj subroutine to open a definition for a new object. All display list routines between the makeobj subroutine and the closeobj subroutine become part of the object definition.

Use the editobj subroutine to open an existing object for editing and the closeobj subroutine to end the editing session.

If no object is open, the closeobj subroutine is ignored.

Note: This subroutine, itself, cannot be used to add to a display list.


The example C language program depthcue.c uses the closeobj subroutine to specify the end of a graphical object definition.

Implementation Specifics

This subroutine is part of GL in the AIXwindows Environment/6000 Version 1, Release 2 with AIXwindows/3D Feature.


/usr/include/gl/gl.h Contains C language constant and variable type definitions for GL.
/usr/include/gl/fgl.h Contains FORTRAN constant and variable type definitions for GL.

Related Information

Opening an object for editing with the editobj subroutine.

Creating an object with the makeobj subroutine.

AIX Graphics Library Overview and Creating Objects (Display Lists).

[ Previous | Next | Contents | Glossary | Home | Search ]