-------------------------------------------------------------------------
| 185 | } |
| 186 | //------------------------------------------------------------------------- |
| 187 | void VulkanDescriptorPool::reset( VulkanDevice *device ) |
| 188 | { |
| 189 | FastArray<Pool>::iterator itor = mPools.begin(); |
| 190 | FastArray<Pool>::iterator endt = mPools.end(); |
| 191 | |
| 192 | while( itor != endt ) |
| 193 | { |
| 194 | vkResetDescriptorPool( device->mDevice, itor->pool, 0 ); |
| 195 | itor->size = 0u; |
| 196 | ++itor; |
| 197 | } |
| 198 | |
| 199 | mCurrentPoolIdx = 0u; |
| 200 | } |
| 201 | //------------------------------------------------------------------------- |
| 202 | void VulkanDescriptorPool::_advanceFrame() |
| 203 | { |
no test coverage detected