23 lines
342 B
C++
23 lines
342 B
C++
#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;
|
|
};
|