MCPcopy Create free account
hub / github.com/SakuraEngine/SakuraEngine / link

Method link

SDKs/vulkan/vulkan/vulkan.hpp:1139–1149  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1137 }
1138
1139 void link( void * dstBase, void const * srcBase, VkBaseOutStructure * dst, VkBaseInStructure const * src )
1140 {
1141 while ( src->pNext )
1142 {
1143 std::ptrdiff_t offset = reinterpret_cast<char const *>( src->pNext ) - reinterpret_cast<char const *>( srcBase );
1144 dst->pNext = reinterpret_cast<VkBaseOutStructure *>( reinterpret_cast<char *>( dstBase ) + offset );
1145 dst = dst->pNext;
1146 src = src->pNext;
1147 }
1148 dst->pNext = nullptr;
1149 }
1150
1151 void unlink( VkBaseOutStructure const * pNext ) VULKAN_HPP_NOEXCEPT
1152 {

Callers 1

Graph.cppFile · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected