aukimiaukimi
DocumentationTutorialsTipsForumCommunity
aukimi.com
Back to the documentation
JavaScript API
sprite49
math40
input29
animation22
material21
mesh20
vec320
inventory18
postProcess18
scene18
quest16
light14
particles14
render13
  • screenFPS
  • getPolygonsDrawn
  • getVerticesProcessed
  • setClearColor
  • clearScreen
  • render
  • sync
  • getRendererName
  • getClipSpaceMode
  • isTopLeftOrigin
  • isInvertedDepth
  • forcePresent
  • getPaused
ui13
atmosphere12
game12
color11
screen11
camera10
globals10
physics9
skybox9
decal8
draw8
saveSystem8
transform8
dialogue7
lifecycle7
physics2D7
terrain7
camera3P6
dayNight6
glow6
storage6
vehicle6
console5
highlight4
pathfinding4
water4
audio3
events3
hud3
physicsCollision3
world3
await modelLoader2
timer2
await timer1
modelLoader1
tween1
JavaScript API·render

render.getPolygonsDrawn

Section: Render

What it does

render.getPolygonsDrawn reads PolygonsDrawn on a render object. It takes no arguments.

Signature

render.getPolygonsDrawn()

Arguments

It takes none.

Example · generated

function update(dt) {  const polygonsDrawn = render.getPolygonsDrawn();}

render.getPolygonsDrawn is called with values of the shape its signature asks for. The code sits in update(dt), which the engine calls every frame: dt is the time since the last one, in seconds.

Previousrender.screenFPSNext render.getVerticesProcessed

13 members in render

aukimiaukimiAcademy

Learn aukimi - tutorials, courses and community help.

Learn

  • Documentation
  • Tutorials
  • Tips

Community

  • Forum
  • Community
  • Main site
  • The app

Legal

  • Privacy
  • Terms
© 2026 aukimi. All rights reserved.