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

onemap Subroutine

Purpose

Organizes the color map as one large map.

Libraries

Graphics Library

C (libgl.a)

FORTRAN (libfgl.a)

C Syntax

void onemap( )

FORTRAN Syntax

SUBROUTINE ONEMAP

Description

The onemap subroutine reorganizes the color map as a single large color map. On the 24-bit High-Performance 3-D Color Graphics Processor, this map is a 12-bit color map having 4096 entries. On the 8-bit High-Performance 3-D Color Graphics Processor, the map is an 8-bit color map having 256 entries.

The system is initially in onemap mode. However, if the mode has been changed to multimap and the onemap subroutine is called, the reorganization of the color map into one large map does not take effect until the gconfig subroutine is called.

  1. The operation of this subroutine for the Supergraphics Processor Subsystem is modified. (See "Understanding the Adapter".)
  2. This subroutine cannot be used to add to a display list.
  3. 12-bit color index mode is not possible on the gt4 family of adapters.

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

Configuring the system with the gconfig subroutine.

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

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

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

Working in Color Map and RGB Modes.


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