docs: document model stats helper

This commit is contained in:
Tom Boullay
2026-04-27 17:10:18 +02:00
parent d9c47c16eb
commit 77bdb7748b
2 changed files with 2 additions and 1 deletions
+1 -1
View File
@@ -60,7 +60,7 @@ export default function ModelViewer({ url, assetUrls, filename, size }: ModelVie
</span>
</div>
{stats && (
<div className="absolute bottom-3 left-3 right-3 z-10 grid grid-cols-2 gap-2 rounded-lg border border-white/10 bg-black-900/75 p-2 text-xs text-gray-300 backdrop-blur sm:left-auto sm:right-3 sm:w-64">
<div className="absolute top-12 right-3 z-10 flex w-44 flex-col gap-1.5 rounded-lg border border-white/10 bg-black-900/75 p-2 text-xs text-gray-300 backdrop-blur">
<span className="flex justify-between gap-3">
<span className="text-gray-500">Draw calls</span>
<span className="font-mono text-gray-200">{stats.drawCalls}</span>