[译]Vulkan教程(26)描述符池和set
[译]Vulkan教程(26)描述符池和set Descriptor pool and sets 描述符池和set Introduction 入门 The descriptor layout from the previous chapter describes the type of descriptors that can be bound. In this chapter we're going to create a descriptor set for each VkBuffer resource to bind it to the uniform buffer descriptor. 从之前的章节可知,描述符布局描述了描述符可被绑定的类型。本章我们要为每个 VkBuffer 资源创建描述符set,以绑定它到uniform buffer描述符。 Descriptor pool 描述符池 Descriptor sets can't be created directly, they must be allocated from a pool like command buffers. The equivalent for descriptor sets is unsurprisingly called a descriptor pool . We'll write a