MCPcopy Create free account
hub / github.com/GPUOpen-LibrariesAndSDKs/VulkanMemoryAllocator / remove

Method remove

include/vk_mem_alloc.h:4880–4889  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4878
4879template<typename T, typename AllocatorT>
4880void VmaVector<T, AllocatorT>::remove(size_t index)
4881{
4882 VMA_HEAVY_ASSERT(index < m_Count);
4883 const size_t oldCount = size();
4884 if (index < oldCount - 1)
4885 {
4886 memmove(m_pArray + index, m_pArray + (index + 1), (oldCount - index - 1) * sizeof(T));
4887 }
4888 resize(oldCount - 1);
4889}
4890#endif // _VMA_VECTOR_FUNCTIONS
4891
4892namespace

Callers 8

jquery.jsFile · 0.80
LeFunction · 0.80
disableSubmenuScrollingFunction · 0.80
toggleMenuFunction · 0.80
initDropdownMenuFunction · 0.80
codefolding.jsFile · 0.80
clipboard.jsFile · 0.80
VmaVectorRemoveFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected