End graphics

Blitz3D Forums/Blitz3D Beginners Area/End graphics

RifRaf(Posted 2004) [#1]
Does anyone know if this automatically frees textures/images, and meshes/entities ???


puki(Posted 2004) [#2]
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.


Agamer(Posted 2004) [#3]
kwl


puki(Posted 2004) [#4]
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.


puki(Posted 2004) [#5]
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.


(tu) sinu(Posted 2004) [#6]
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.


RifRaf(Posted 2004) [#7]
Thanks