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

21 lines
363 B
C++
Raw Normal View History

2020-08-11 12:07:21 -04:00
#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;
2021-02-03 09:04:30 -05:00
VkImageLayout layout = VK_IMAGE_LAYOUT_UNDEFINED;
VkImageAspectFlagBits aspect;
2021-02-15 17:59:54 -05:00
VkImageSubresourceRange range;
2020-08-11 12:07:21 -04:00
};