Vulkan: Split off and implement SwapChain

This commit is contained in:
Corentin Wallez
2018-01-16 11:15:19 -05:00
committed by Corentin Wallez
parent 0887236c81
commit 49588b0b8d
9 changed files with 96 additions and 23 deletions

View File

@@ -59,7 +59,14 @@ class VkNonDispatchableHandle {
return mHandle != 0;
}
static VkNonDispatchableHandle<Tag> CreateFromHandle(uint64_t handle) {
return {handle};
}
private:
VkNonDispatchableHandle(uint64_t handle) : mHandle(handle) {
}
uint64_t mHandle = 0;
};