[ Previous | Next | Contents | Glossary | Home | Search ]
OpenGL 1.1 for AIX: Reference Manual

glGetPointervEXT Subroutine

Purpose

Returns the address of a vertex data array.

Library

OpenGL C bindings library: libGL.a

C Syntax

void glGetPointervEXT(GLenum pname,
           GLvoid **params)

Parameters

pname Specifies the array pointer to be returned. Symbolic constants GL_VERTEX_ARRAY_POINTER_EXT, GL_NORMAL_ARRAY_POINTER_EXT, GL_COLOR_ARRAY_POINTER_EXT, GL_INDEX_ARRAY_POINTER_EXT, GL_TEXTURE_COORD_ARRAY_POINTER_EXT, GL_EDGE_FLAG_ARRAY_POINTER_EXT, are accepted.
**params returns the array pointer value specified by pname .

Description

glGetPointervEXT returns array pointer information. pname is a symbolic constant indicating the array pointer to be returned, and params is a pointer to a location in which to place the returned data.

Notes

The array pointers are client side state.

glGetPointervEXT is part of the _extname(EXT_vertex_array) extension, not part of the core GL command set. If _extstring(EXT_vertex_array) is included in the string returned by glGetString, when called with argument GL_EXTENSIONS, extension _extname(EXT_vertex_array) is supported.

Errors

GL_INVALID_ENUM is generated if pname is not an accepted value.

File

/usr/include/GL/glext.h Contains extensions to C language constants, variable type definitions, and ANSI function prototypes for OpenGL.

Related Information

The glArrayElementEXT subroutine, glColorPointerEXT subroutine, glDrawArraysEXT subroutine, glEdgeFlagPointerEXT subroutine, glIndexPointerEXT subroutine, glNormalPointerEXT subroutine, glTexCoordPointerEXT subroutine, glVertexPointerEXT subroutine.


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