ClearWorld
Frees 3D resources.
ClearWorld ( [entities][,brushes][,textures] )
Parameters
- entities (optional)
- 1 to remove the entities, 0 to leave them.
- brushes (optional)
- accepted for older programs; brushes aren't removed. Defaults to 1.
- textures (optional)
- accepted for older programs; textures aren't removed. Defaults to 1.
Description
Removes every entity: meshes, cameras, lights, sprites and the rest. Use it between levels. Brushes and textures stay loaded until freed with FreeBrush and FreeTexture.
