initial
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
#pragma once
|
||||
|
||||
#include <volk.h>
|
||||
#include <string>
|
||||
#include <memory>
|
||||
#include <vulkan/vulkan_core.h>
|
||||
|
||||
class Gpu;
|
||||
|
||||
struct ImageView {
|
||||
VkImageView view;
|
||||
|
||||
ImageView() :
|
||||
view(VK_NULL_HANDLE) {
|
||||
}
|
||||
|
||||
ImageView(VkImageView view) :
|
||||
view(view) {
|
||||
}
|
||||
|
||||
void set_debug_name(const std::shared_ptr<const Gpu>& gpu, const std::string& name) const;
|
||||
};
|
||||
Reference in New Issue
Block a user