Ben
Ben

Reputation: 16699

View WebGL Memory

When using Chrome Dev Tools, is there a way to view the memory allocations and deallocations for WebGL?

I would like to get a better idea of what my app does in the background and ensure everything gets cleaned up.

Upvotes: 0

Views: 716

Answers (1)

Venus
Venus

Reputation: 100

Try webgl-memory

This is a WebGL-Memory tracker. You add the script to your page before you initialize WebGL and then for a given context you can ask how much WebGL memory you're using.

Upvotes: 1

Related Questions