chunksize man page on IRIX

Man page or keyword search:  
man Server   31559 pages
apropos Keyword Search (all sections)
Output format
IRIX logo
[printable version]



chunksize(3G)							 chunksize(3G)

NAME
     chunksize - specifies minimum object size in memory

C SPECIFICATION
     void chunksize(chunk)
     long chunk;

PARAMETERS
     chunk   Expects the minimum memory size to allocate for an object.	 As
	     you add objects to a display list, chunk is the unit size (in
	     bytes) by which the memory allocated to the display list grows.

DESCRIPTION
     chunksize specifies the minimum object memory size.  You can call it only
     once after graphics initialization and before the first makeobj.

     If you do not use this function, the system assumes a chunk size of 1020
     bytes.  This is usually more than large enough.  Therefore, you generally
     need to use chunksize only if your application is running up against the
     memory limits, and you know that 1020 bytes per object is too much.

     But be careful, if chunksize is set too small, complex objects (e.g.,
     multi-sided polygons) will not display.  Each object in a display list
     must fit entirely into a single chunk.  Some experimentation may be
     necessary to determine the optimal chunksize for an application.

SEE ALSO
     compactify, makeobj

NOTE
     This routine is available only in immediate mode.

									Page 1

[top]

List of man pages available for IRIX

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net