Skip to content

Commit 0e3b15d

Browse files
committed
Add release note
1 parent 8466075 commit 0e3b15d

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
---
2+
title: Render Assets diagnostics
3+
authors: ["@hukasu"]
4+
pull_requests: [19311]
5+
---
6+
7+
## Goals
8+
9+
Create diagnostics plugins `MeshAllocatorDiagnosticPlugin`, `MaterialDiagnosticPlugin` and `RenderAssetDiagnosticPlugin`
10+
that collect measurements related to `MeshAllocator`s, `MaterialBindGroupAllocator`, and `RenderAssets` respectively.
11+
12+
`MeshAllocatorDiagnosticPlugin` and `MaterialDiagnosticPlugin` measure the number of slabs, the total size of memory
13+
allocated by the slabs, and the number of objects allocated in the slabs. Only bindless materials use slabs for their
14+
allocations, non-bindless materials return 0 for all of them.
15+
16+
`RenderAssetDiagnosticsPlugin` measure the number of assets in `RenderAssets<T>`.

0 commit comments

Comments
 (0)