gpu-allocator icon indicating copy to clipboard operation
gpu-allocator copied to clipboard

add `Allocation::name()` getter

Open Firestar99 opened this issue 1 year ago • 3 comments

What the title says, nothing special. I don't want to store yet another copy of the same string, it would be nice if I could just query it instead.

Firestar99 avatar Dec 23 '24 14:12 Firestar99

Should the PR title be prefixed with vulkan: or are you intending to add this to the other backends (dx12 and Metal) as well?

MarijnS95 avatar Dec 23 '24 22:12 MarijnS95

Looking at this, does anyone know why it's name: Option<Box<str>> and not name: Option<String>?

Jasper-Bekkers avatar Jan 09 '25 07:01 Jasper-Bekkers

@Jasper-Bekkers that should be https://github.com/Traverse-Research/gpu-allocator/pull/70, which explains it's a minor reduction in struct size.

MarijnS95 avatar Jan 09 '25 08:01 MarijnS95