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

lgetdepth Subroutine

Purpose

Gets the distance of the near and far clipping planes.

Libraries

Graphics Library

C (libgl.a)

FORTRAN (libfgl.a)

C Syntax

void lgetdepth(Int32 *near, Int32 *far)

FORTRAN Syntax

SUBROUTINE LGETDE(near, far)
INTEGER*4 near, far

Description

The lgetdepth subroutine gets the distance of the near and far clipping planes and writes them into the near and far parameters. Set these distances using the lsetdepth subroutine.

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

Parameters

near Specifies a pointer to the location into which to write the distance of the near clipping plane.
far Specifies a pointer to the location into which to write the distance of the far clipping plane.

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

Setting the viewport depth range with the lsetdepth subroutine.

AIX Graphics Library Overview, Querying the System, and Working with Coordinate Systems.


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