Welcome,
Guest
. Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News:
Home
Help
Search
Login
Register
www.jpct.net
»
jPCT-AE - a 3d engine for Android
»
Support
»
How to use Virtualizer class save memory by storing data on disk
« previous
next »
Print
Pages: [
1
]
Go Down
Author
Topic: How to use Virtualizer class save memory by storing data on disk (Read 1775 times)
penprakash
byte
Posts: 26
How to use Virtualizer class save memory by storing data on disk
«
on:
May 30, 2013, 06:15:37 pm »
Hi,
Could you please explain or give the sample to use the Virtualizer to store the data on disk. What Context needs to be set in Virtualizer in android?
Thanks & Regards,
Prakash V
Logged
EgonOlsen
Administrator
quad
Posts: 12297
Re: How to use Virtualizer class save memory by storing data on disk
«
Reply #1 on:
May 30, 2013, 08:13:38 pm »
The docs for that call already tell you the basics of how to use it for textures. You can assign it to an Object3D as well (it will be used automatically in that case). The context is an instance of
android.content.Context
which can be obtained from the Activity. I wonder why the JavaDocs don't include this information...i'll add it for the next version.
Logged
Print
Pages: [
1
]
Go Up
« previous
next »
www.jpct.net
»
jPCT-AE - a 3d engine for Android
»
Support
»
How to use Virtualizer class save memory by storing data on disk