MCPcopy Create free account
hub / github.com/OGRECave/ogre-next / reset

Method reset

RenderSystems/Vulkan/src/OgreVulkanDescriptorPool.cpp:187–200  ·  view source on GitHub ↗

-------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

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 {

Callers 9

_endFrameMethod · 0.45
unloadImplMethod · 0.45
VulkanRenderSystemMethod · 0.45
flushRootLayoutMethod · 0.45
flushRootLayoutCSMethod · 0.45
reallocateBufferMethod · 0.45
unprepareImplMethod · 0.45
loadImplMethod · 0.45

Calls 2

beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected