Creates an object (display list).
void makeobj(Int32 object)
SUBROUTINE MAKEOB(object) INTEGER*4 object
The makeobj subroutine creates and names a new display list (object). If the object parameter is the number of an existing object, the contents of that object are deleted.
When the makeobj subroutine executes, the object number is entered into a symbol table and memory is allocated for a display list. Subsequent graphics routines are then compiled into the display list instead of executing. Compilation continues until the closeobj subroutine is called.
- This editing subroutine itself cannot be added to a display list.
- The makeobj subroutine cannot be called within an object; that is, an existing object cannot be used to create a new object.
|object||Specifies the numeric identifier for the object being defined.|
The example C language program depthcue.c uses the makeobj subroutine to specify the beginning of a display list defining a graphical object.
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.|
Drawing an instance of an object with the callobj subroutine.
Specifying the amount of memory allocated for an object with the chunksize subroutine.
Closing an object with the closeobj subroutine.
Opening an object for editing with the editobj subroutine.
Returning a unique integer for use as an object identifier with the genobj subroutine.
Establishing the uniqueness of an object number with the isobj subroutine.
AIX Graphics Library Overview and Creating Objects (Display Lists).