Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use new memory statistics API from Vulkan Memory Allocator 3 #538

Open
IAmNotHanni opened this issue May 20, 2023 · 0 comments
Open

Use new memory statistics API from Vulkan Memory Allocator 3 #538

IAmNotHanni opened this issue May 20, 2023 · 0 comments
Labels
cat:enhancement enhancement/requested feature/update of existing features cat:vma Vulkan Memory Allocator (VMA)

Comments

@IAmNotHanni
Copy link
Member

Is your feature request related to a problem?

Quoting from the release of Vulkan Memory Allocator 3.0.0:

Redesigned API for statistics, replacing the old one. See structures: VmaStatistics, VmaDetailedStatistics, VmaTotalStatistics. VmaBudget, functions: vmaGetHeapBudgets, vmaCalculateStatistics, vmaGetPoolStatistics, vmaCalculatePoolStatistics, vmaGetVirtualBlockStatistics, vmaCalculateVirtualBlockStatistics.

A description of the new API can be found in the VMA3 docs.

Description

We should query this information and display it in ImGui somewhere, maybe even display some sort of loading bar to show how much vram is used. Maybe we could also display in ImGui which types of memory are available and so on (discussion needed).

Alternatives

Do not use any VMA memory statistics (not recommended)

Affected Code

All

Operating System

All

Additional Context

None

@IAmNotHanni IAmNotHanni added cat:enhancement enhancement/requested feature/update of existing features cat:vma Vulkan Memory Allocator (VMA) labels May 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cat:enhancement enhancement/requested feature/update of existing features cat:vma Vulkan Memory Allocator (VMA)
Projects
None yet
Development

No branches or pull requests

1 participant