chunksize(3G) chunksize(3G)
NAME
chunksize - specifies minimum object size in memory
SPECIFICATION
C chunksize(chunk)
long chunk;
FORTRAN subroutine chunks(chunk)
integer*4 chunk
DESCRIPTION
chunksize specifies the minimum object size in memory. You
can call it only once after graphics initialization (i.e.,
ginit or winopen ) and before the first makeobj. chunk is
the unit size (in bytes) by which an object grows.
Use chunksize only if there is a limited amount of memory.
chunksize is typically used when an application has many
objects. If chunksize is set too small, large items (e.g.,
large polygons) will not fit into the display list as each
must fit entirely into a single chunk. Some experimentation
may be necessary to determine the optimal chunksize for an
application. The default chunk size is 1020 bytes.
SEE ALSO
compactify, ginit, makeobj
Programming Guide, Section 8.3, Object Editing
NOTE
This routine is available only in immediate mode.
Page 1 (printed 8/20/87)