Archived
1
Fork 0
This repository has been archived on 2025-04-12. You can view files and clone it, but cannot push or open issues or pull requests.
prism/engine/gfx/vulkan/src/gfx_vulkan_texture.hpp
2021-02-15 17:59:54 -05:00

20 lines
363 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 = VK_IMAGE_LAYOUT_UNDEFINED;
VkImageAspectFlagBits aspect;
VkImageSubresourceRange range;
};