[ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
Allocates range number of contiguous display list indices. Returns an integer which is the smallest display list index you can use.
Starts a display list construction. Mode may be
one of the constants GL_COMPILE
or GL_COMPILE_AND_EXECUTE
.
Ends a display list construction.
Calls a display list.
Returns #t
if list-no is an already used display list number,
#f
otherwise.
Deletes range display list, beginning from list-no-start.
Specifies the offset that's added to the display list indices in
gl-call-list
.
Executes size display list, whose indices are contained in lists. You can pass a u8, s8, u16, s16, u32, s32 or f32vector, or a string, as lists. If it is a string, each byte consists of the string is interpreted as an unsigned integer specifying a display list. It is useful for the technique to display character strings by creating display lists for each ASCII characters. But be aware that it doesn't work for multibyte characters.
Usually you can use the simplest form (the third form) and Gauche-gl infers the size and type from the passed lists. You can explicitly specify size if you want to use just a beginning portion of lists. An error is signalled if you specify size that is larger than the size of lists.
Specifying type is useful only if lists is a u8vector,
and you want to use one of three special types allowed to glCallLists
,
namely GL_2_BYTES
, GL_3_BYTES
, and GL_4_BYTES
.
[ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] |
This document was generated by Shiro Kawai on June, 7 2008 using texi2html 1.78.