www.jpct.net

jPCT-AE - a 3d engine for Android => Support => Topic started by: kiffa on October 10, 2013, 10:58:41 am

Title: Could I release the mesh after uploading it as VBO?
Post by: kiffa on October 10, 2013, 10:58:41 am
There are some static BackGround Object3Ds in my game which are only used for rendering,  so I think their meshes could be released after uploading.

And my purpose is to free some main memory. I tried Object3D.decoupleMesh(), but got an incorrect result.
Title: Re: Could I release the mesh after uploading it as VBO?
Post by: EgonOlsen on October 10, 2013, 11:32:03 am
No, you can't. You can serialize some mesh data to the sdcard using the Virtualizer, but you can't get rid of the mesh instance itself.