Upload of a reasonably minimal complete main.rs file that demonstrates the issue: N/A
Issue
The PersistentDescriptorSet is designed to be immutable (the update method is private), which works great if I don't want to update my descriptor set. However, I do, and using UnsafeDescriptorSet by itself doesn't work because, unlike with PersistentDescriptorSet, I can't bind UnsafeDescriptorSet using the AutoCommandBufferBuilder::bind_descriptor_sets method, because neither UnsafeDescriptorSet nor Vec<UnsafeDescriptorSet> implements DescriptorSetsCollection trait.
Are there plans to add a MutableDescriptorSet struct that implements DescriptorSetsCollection, similar to PersistentDescriptorSet, but with a public update method? If not, can there be plans to do so? I would be happy to implement it and make a PR, if that's helpful. Thanks!
main.rs
file that demonstrates the issue: N/AIssue
The
PersistentDescriptorSet
is designed to be immutable (theupdate
method is private), which works great if I don't want to update my descriptor set. However, I do, and usingUnsafeDescriptorSet
by itself doesn't work because, unlike withPersistentDescriptorSet
, I can't bindUnsafeDescriptorSet
using theAutoCommandBufferBuilder::bind_descriptor_sets
method, because neitherUnsafeDescriptorSet
norVec<UnsafeDescriptorSet>
implementsDescriptorSetsCollection
trait.Are there plans to add a
MutableDescriptorSet
struct that implementsDescriptorSetsCollection
, similar toPersistentDescriptorSet
, but with a publicupdate
method? If not, can there be plans to do so? I would be happy to implement it and make a PR, if that's helpful. Thanks!