18 lines
269 B
C++
Executable file
18 lines
269 B
C++
Executable file
#pragma once
|
|
|
|
#include <vulkan/vulkan.h>
|
|
|
|
#include "gfx_texture.hpp"
|
|
|
|
class GFXVulkanTexture : public GFXTexture {
|
|
public:
|
|
VkImage handle;
|
|
VkDeviceMemory memory;
|
|
VkImageView view;
|
|
VkSampler sampler;
|
|
|
|
int width, height;
|
|
|
|
VkFormat format;
|
|
VkImageLayout layout;
|
|
};
|