MCPcopy Create free account
hub / github.com/KhronosGroup/Vulkan-Samples / Allocated

Method Allocated

framework/core/allocated.h:394–402  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

392
393template <vkb::BindingType bindingType, typename HandleType>
394inline Allocated<bindingType, HandleType>::Allocated(Allocated &&other) noexcept :
395 ParentType{static_cast<ParentType &&>(other)},
396 allocation_create_info(std::exchange(other.allocation_create_info, {})),
397 allocation(std::exchange(other.allocation, {})),
398 mapped_data(std::exchange(other.mapped_data, {})),
399 coherent(std::exchange(other.coherent, {})),
400 persistent(std::exchange(other.persistent, {}))
401{
402}
403
404template <vkb::BindingType bindingType, typename HandleType>
405template <typename... Args>

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected