Draw calls - is there a way to know how many draw calls happen per frame?

I am wondering if we have anyway to know how many draw calls happened during a single frame , this can help debug/optimize a game without having to guess where the bottlenecks are, so far I haven’t been able to find a way to know this yet. Any ideas?


Put it after your drawing code but before your debug draw


Thanks! this is really helpful! not sure why I never saw this one before.