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

getmmode Subroutine

Purpose

Returns the current matrix mode.

Libraries

Graphics Library

C (libgl.a)

FORTRAN (libfgl.a)

C Syntax

Int32 getmmode( )

FORTRAN Syntax

INTEGER*4 FUNCTION GETMMO

Description

The getmmode subroutine returns the current matrix mode.

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

Return Values

There are three possible return values for this function:

C FORTRAN Mode
MSINGLE MSINGL Single matrix
MPROJECTION MPROJE Projection matrix
MVIEWING MVIEWI Viewing matrix

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

Making a material, light, or lighting model definition active with the lmbind subroutine.

Defining a new material, light, or lighting model with the lmdef subroutine.

Setting the current matrix mode with the mmode subroutine.

AIX Graphics Library Overview, Creating Lighting Effects, Querying the System, and Setting Pipeline Options.


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