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

gentag Subroutine

Purpose

Returns a unique integer for use as a tag.

Libraries

Graphics Library

C (libgl.a)

FORTRAN (libfgl.a)

C Syntax

Int32 gentag( )

FORTRAN Syntax

INTEGER*4 FUNCTION GENTAG

Description

The gentag subroutine generates a unique 31-bit integer number for use as a tag. Tags must be unique within an object. Although the gentag subroutine generates unique tags, if a tag is defined later with the same value, the first tag is lost.

The istag subroutine can affirm the uniqueness of a tag number.

Note: This editing subroutine itself cannot be added to a display list.

Return Value

A unique 31-bit integer for use as a tag.

Implementation Specifics

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

Files

/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

Deleting tags from a display list with the deltag subroutine.

Returning a unique integer for use as an object identifier with the genobj subroutine.

Establishing the uniqueness of a tag with the istag subroutine.

Marking a location in a display list with the maketag subroutine.

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


[ Next Article | Previous Article | Book Contents | Library Home | Legal | Search ]