Querying performance information

Software: Away3D 4.x

CyrilM, Newbie
Posted: 22 February 2013 05:05 PM   Total Posts: 15

I’ve been working on an away3D prototype for a large project update. Based on the information found in this link

http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/display3D/Context3D.html

It appears that the maximum limit for texture memory inside Context3D is 350MB (128 is recommended)

One question is, why is this the limitation? If I have a graphics card with 2GB of memory, why can I not use up more?

That aside, is it possible to query the context3D device to get the current memory usage from textures or vertex buffers, etc? Or will I have to track that myself? Idea being that I want to be able to keep the memory below the limit before the application begins to crash unexpectedly from OOM errors.

As a side note, I’m using Away3D with SEA3D (not the Github version) with flash 11.5

Thanks in advance for any info you pass along.

   
   
‹‹ Away3d + Starling

X

Away3D Forum

Member Login

Username

Password

Remember_me



X