Quantcast
Channel: Questions in topic: "webgl"
Viewing all articles
Browse latest Browse all 2390

WebGL memory size in Player Settings?

$
0
0
What does the 'WebGL Memory Size' player setting actually do? I get this error no matter what I set it to: > "Cannot enlarge memory arrays. Either> (1) compile with -s TOTAL_MEMORY=X> with X higher than the current value> 16777216, (2) compile with> ALLOW_MEMORY_GROWTH which adjusts the> size at runtime but prevents some> optimizations, or (3) set> Module.TOTAL_MEMORY before the program> runs." But, if I open the generated .js file and increase TOTAL_MEMORY manually, it loads without error. I also noticed that you can just set TOTAL_MEMORY in Module object of the generated html page.

Viewing all articles
Browse latest Browse all 2390

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>