End graphics
Blitz3D Forums/Blitz3D Beginners Area/End graphics
| ||
Does anyone know if this automatically frees textures/images, and meshes/entities ??? |
| ||
From memory, I believe there is an answer to this posted a couple of months ago - I'll dig it up, unless someone knows the answer already. |
| ||
kwl |
| ||
Sorry, I didn't find it - I skimmed through 'Beginners' and 'Blitz3D' for 2 months or so - I can't remember what the thread was called and have a fuzzy memory of the answer - someone will come along and answer for you though. |
| ||
Doesn't mention anything about entities, etc. in the docs Returns a program to a non-Graphics mode state. This is the same state that a program starts up in, before the Graphics command is used. One possible use for EndGraphics is to switch between full-screen and windowed states. |
| ||
iirc clears all textures, images, meshes etc so if the entity isn't one of those, they will stay in memory. Blitz frees everything on exit anyway and clearworld can also be used with various flags to free certain things. |
| ||
Thanks |