About Store Forum Documentation Contact



Post Reply 
Draw calls and Texture memory usage
Author Message
iOMG Offline
Member

Post: #1
Draw calls and Texture memory usage
Hello community I was just wondering if there is a feature that displays how many draw calls and/or how much memory textures are using? Ideally I want the figures for what is in view of the player for optimization purposes.

Many thanks.
(This post was last modified: 11-28-2013 05:32 PM by iOMG.)
11-28-2013 05:29 PM
Find all posts by this user Quote this message in a reply
Esenthel Offline
Administrator

Post: #2
RE: Draw calls and Texture memory usage
Hi,

For texture memory, you can do something like that:
Long size=0; REPA(Images)size+=Images.lockedElm(i).data.memUsage();

For draw calls there's no such option.
11-28-2013 10:48 PM
Find all posts by this user Quote this message in a reply
Post Reply