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

getmap Subroutine

Purpose

Returns the number of the current color map.

Libraries

Graphics Library

C (libgl.a)

FORTRAN (libfgl.a)

C Syntax

Int32 getmap( )

FORTRAN Syntax

INTEGER*4 FUNCTION GETMAP

Description

The getmap subroutine returns the identification number of the current color map. In multimap mode, there are 16 small, independent color maps; therefore, the getmap subroutine returns a value in the range 0 to 15. In onemap mode, the getmap subroutine returns 0 (zero).

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

Return Value

The number of the current color map, a value from 0 to 15.

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

Returning the organization of the current color map with the getcmmode subroutine.

Organizing the color map as 16 small maps with the multimap subroutine.

Organizing the color map as one large map with the onemap subroutine.

Selecting one of 16 small color maps with the setmap subroutine.

Querying the System.

Working in Color Map and RGB Modes.


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