Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ chunksize(3G) — GL2 W3.6

Media Vault

Software Library

Restoration Projects

Artifacts Sought

chunksize(3G)  —  Silicon Graphics

NAME

chunksize − specifies minimum object size in memory

SPECIFICATION

C
chunksize(chunk)
long chunk;

FORTRAN
subroutine chunks(chunk)
integer*4 chunk

Pascal
procedure chunksize(chunk: longint);

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) do 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. 

Version 3.6  —  December 20, 1987

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026