Expand description
Explicit descriptor set allocation and update support.
DescriptorSet::alloc_and_update creates an immutable descriptor set from a reflected
pipeline layout. The result owns its Vulkan descriptor pool and keeps every resource referenced
by a write or copy alive. Clone it cheaply to reuse the same allocation.
Descriptor contents do not declare graph synchronization. Bind each referenced resource to the
graph and declare its AccessType separately, then bind the
set with PipelineCommand::bind_descriptor_set.
Input attachments, texel buffers, and dynamic buffer descriptors are currently unsupported by this immutable API and prevent allocating a first-class set for their set index.
Structsยง
- Descriptor
Set - An immutable, explicitly populated Vulkan descriptor set.
- Descriptor
SetBinding - Identifies one binding and array element within a descriptor set.
- Descriptor
SetInfo - Information selecting the pipeline layout used to allocate a
DescriptorSet. - Descriptor
SetInfo Builder - Builder for
DescriptorSetInfo. - Descriptor
SetUpdate Info - One write or copy performed while allocating a
DescriptorSet.