xenocara/doc/gl-docs/GL/gl/listbase.3gl

40 lines
1.0 KiB
Plaintext
Raw Normal View History

'\" e
'\"! eqn | mmdoc
'\"macro stdmacro
.ds Vn Version 1.2
.ds Dt 24 September 1999
.ds Re Release 1.2.1
.ds Dp Jan 14 18:30
.ds Dm 01 listbase.
.ds Xs 12110 3 listbase.gl
.TH GLLISTBASE 3G
.SH NAME
.B "glListBase
\- set the display-list base for \%\f3glCallLists\fP
.SH C SPECIFICATION
void \f3glListBase\fP(
GLuint \fIbase\fP )
.nf
.fi
.SH PARAMETERS
.TP \w'\f2base\fP\ \ 'u
\f2base\fP
Specifies an integer offset that will be added to \%\f3glCallLists\fP
offsets to generate display-list names.
The initial value is 0.
.SH DESCRIPTION
\%\f3glCallLists\fP specifies an array of offsets.
Display-list names are generated by adding \f2base\fP to each offset.
Names that reference valid display lists are executed;
the others are ignored.
.SH ERRORS
\%\f3GL_INVALID_OPERATION\fP is generated if \%\f3glListBase\fP
is executed between the execution of \%\f3glBegin\fP
and the corresponding execution of \%\f3glEnd\fP.
.SH ASSOCIATED GETS
\%\f3glGet\fP with argument \%\f3GL_LIST_BASE\fP
.SH SEE ALSO
\%\f3glCallLists(3G)\fP