Expand description
Structs§
- GpuAllocation
- A tracked GPU resource, untracked when dropped. Keep it next to the resource.
- GpuAllocation
Info - A live tracked GPU resource.
- GpuMemory
- GPU memory of the live
Buffers andTextures, shared by the whole process. Resources created directly withwgpuare only counted if they hold aGpuAllocation. - GpuMemory
Total
Enums§
- GpuMemory
Category - Category of a tracked GPU resource, deduced from its usages.
Functions§
- texture_
bytes - Estimated size in bytes of a 2D texture with all its mips, layers and samples.