When I try to do this, I realize that I need access to the
DescriptorSetLayout<Backend> in order to call
factory.create_descriptor_set for my texture
Descriptor::Images. The layouts are only available during pipeline
prepare phases. Clearly I can’t use
build after I’ve already built a pipeline. So is it intended that I use the
prepare method for writing new descriptor sets when I want to use newly loaded textures? Is this limitation necessary for safety?
Edit: I’m currently using the
prepare method as I described above, and it appears to work fine.