| 124 | bool OneOffDescriptorSet::Initialized() { return pool_ != VK_NULL_HANDLE && layout_.initialized() && set_ != VK_NULL_HANDLE; } |
| 125 | |
| 126 | void OneOffDescriptorSet::Clear() { |
| 127 | resource_infos.clear(); |
| 128 | descriptor_writes.clear(); |
| 129 | } |
| 130 | |
| 131 | void OneOffDescriptorSet::AddDescriptorWrite(uint32_t binding, uint32_t array_element, VkDescriptorType descriptor_type, |
| 132 | uint32_t descriptor_count /*= 1*/) { |