EngineSetPoolCapacity
		
		
		
		
		
		Jump to navigation
		Jump to search
		
		
	
Syntax
boolean engineSetPoolCapacity( string pool, number capacity )
Required Arguments
- pool: Name of the pool
 - capacity : New size
 
Returns
true if the pool capacity was changed and false if not. Throws an error if the pool is invalid.
Engine pools
| Name | Default size | Resizable | Description | 
|---|---|---|---|
| building | 13000 | yes | Static world objects. Terrain, roads, buildings... | 
| dummy | 2500 | no | Dynamic world objects. Doors, fences, boxes | 
| ped | 140 | no | Peds | 
| object | 1200 | no | Scriptable objects | 
| vehicle | 110 | no | Vehicles | 
| col-model | 12000 | no | |
| task | 5000 | no | |
| event | 5000 | no | |
| task-allocator | 16 | no | |
| ped-intelligence | 64 | no | |
| ped-attractor | 64 | no | |
| entry-info-node | 72600 | no | |
| node-route | 64 | no | |
| patrol-route | 32 | no | |
| point-route | 64 | no | |
| pointer-double-link-pool | 74800 | no | |
| pointer-single-link-pool | 90000 | yes | |
| env-map-material | 16000 | no | |
| env-map-atomic | 4000 | no | |
| spec-map-material | 16000 | no | 
See Also
- engineAddImage
 - engineApplyShaderToWorldTexture
 - engineFreeModel
 - engineGetModelFlags
 - engineGetModelIDFromName
 - engineGetModelLODDistance
 - engineGetModelNameFromID
 - engineGetModelPhysicalPropertiesGroup
 - engineGetModelTextureNames
 - engineGetModelTextures
 - engineGetModelTXDID
 - engineGetModelVisibleTime
 - engineGetObjectGroupPhysicalProperty
 - engineGetSurfaceProperties
 - engineGetVisibleTextureNames
 - engineImageGetFilesCount
 - engineImageGetFiles
 - engineImageGetFile
 - engineImageLinkDFF
 - engineImageLinkTXD
 - engineImportTXD
 - engineLoadCOL
 - engineLoadDFF
 - engineLoadIMG
 - engineLoadIFP
 - engineLoadTXD
 - engineRemoveImage
 - engineRemoveShaderFromWorldTexture
 - engineReplaceAnimation
 - engineReplaceCOL
 - engineReplaceModel
 - engineRequestModel
 - engineResetModelFlags
 - engineResetModelLODDistance
 - engineResetSurfaceProperties
 - engineRestoreAnimation
 - engineRestoreCOL
 - engineRestoreDFFImage
 - engineRestoreModel
 - engineRestoreModelPhysicalPropertiesGroup
 - engineRestoreObjectGroupPhysicalProperties
 - engineRestoreTXDImage
 - engineRestreamWorld
 - engineSetAsynchronousLoading
 - engineSetModelFlag
 - engineSetModelFlags
 - engineSetModelLODDistance
 - engineSetModelPhysicalPropertiesGroup
 - engineSetModelVisibleTime
 - engineSetObjectGroupPhysicalProperty
 - engineSetSurfaceProperties
 - engineStreamingFreeUpMemory
 - engineStreamingGetUsedMemory