is there a way to dispose all Away3D from gpu memory without destroying sharedContext with starling

Software: Away3D 4.x

Thonbo, Newbie
Posted: 30 May 2013 11:25 PM   Total Posts: 10

im in a situation where I feel the need to use stage3Dproxy.dispose() to get my away3d properly killed from memory - but im using sharedContext with starling - and I need starling to survive that kill…

so is there a way to dispose all Away3D from gpu memory without destroying sharedContext with starling

ive tried with _view.dispose() this doesnt clean gpu memory

ive tried having starling in another stage3D layer but it doesnt work as i need it to…

   

Thonbo, Newbie
Posted: 31 May 2013 12:01 AM   Total Posts: 10   [ # 1 ]

ok .. i figured..

i just need to dispose all created TextureMaterial - the change wont take effect before you upload a new texture to the gpu - then it will be cleared

also dispose all Material instances - to clear normal memory

   
   

X

Away3D Forum

Member Login

Username

Password

Remember_me



X