Remove files from Parse3DScripts ()
-
- User
- Posts: 36
- Joined: Thu Jul 11, 2013 11:17 pm
Remove files from Parse3DScripts ()
How it is possible to remove files from Parse3DScripts() added by Add3DArchive()?
Re: Remove files from Parse3DScripts ()
As far as I know you can't and I'm not sure if one would need to anyways.
From what I understand parsing shouldn't load the heavier resources into memory.
Only when we use GetScriptMaterial() the materials should be loaded into memory and then FreeMaterial() should free up those materials.
The same rules should apply to particle and compositor scripts too.
From what I understand parsing shouldn't load the heavier resources into memory.
Only when we use GetScriptMaterial() the materials should be loaded into memory and then FreeMaterial() should free up those materials.
The same rules should apply to particle and compositor scripts too.
http://www.ogre3d.org/docs/manual/manual_14.html wrote: It’s important to realize that materials are not loaded completely by this parsing process: only the definition is loaded, no textures or other resources are loaded. This is because it is common to have a large library of materials, but only use a relatively small subset of them in any one scene. To load every material completely in every script would therefore cause unnecessary memory overhead.
-
- User
- Posts: 36
- Joined: Thu Jul 11, 2013 11:17 pm
Re: Remove files from Parse3DScripts ()
Ok. Thanks.