pleascach/Resources/Texture.hpp
connellpaxton 952176f4c9 Added file utilities, began work on texture loading.
After that, it will be time to begin graphics pipeline construction
2024-01-22 18:09:11 -05:00

11 lines
266 B
C++

#pragma once
#define VULKAN_HPP_NO_STRUCT_CONSTRUCTORS
#include <vulkan/vulkan.hpp>
struct Texture {
vk::Image image;
vk::DeviceMemory image_alloc;
Texture(vk::Device dev, vk::PhysicalDevice phys_dev, const std::string& fname);
void cleanup(vk::Device dev);
};