raze/source/common/rendering/vulkan/textures/vk_pptexture.h
2022-07-02 10:20:11 +02:00

25 lines
504 B
C++

#pragma once
#include "hwrenderer/postprocessing/hw_postprocess.h"
#include "vulkan/system/vk_objects.h"
#include "vulkan/textures/vk_imagetransition.h"
#include <list>
class VulkanFrameBuffer;
class VkPPTexture : public PPTextureBackend
{
public:
VkPPTexture(VulkanFrameBuffer* fb, PPTexture *texture);
~VkPPTexture();
void Reset();
VulkanFrameBuffer* fb = nullptr;
std::list<VkPPTexture*>::iterator it;
VkTextureImage TexImage;
std::unique_ptr<VulkanBuffer> Staging;
VkFormat Format;
};