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

getcmmode Subroutine

Purpose

Returns the organization of the color map.

Libraries

Graphics Library

C (libgl.a)

FORTRAN (libfgl.a)

C Syntax

Int32 getcmmode( )

FORTRAN Syntax

LOGICAL FUNCTION GETCMM

Description

The getcmmode subroutine returns the organization of the current color map.

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

Return Values

C FORTRAN Description
TRUE CMAPMU multimap mode
FALSE CMAPON onemap mode

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 current display mode with the getdisplaymode subroutine

Returning the number of the current color map with the getmap 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.

Querying the System.

Working in Color Map and RGB Modes.


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