2022-07-02 08:09:59 +00:00
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include "hwrenderer/postprocessing/hw_postprocess.h"
|
2022-12-11 17:30:01 +00:00
|
|
|
#include <zvulkan/vulkanobjects.h>
|
2022-07-02 08:09:59 +00:00
|
|
|
#include "vulkan/textures/vk_imagetransition.h"
|
|
|
|
#include <list>
|
|
|
|
|
2022-12-11 17:30:01 +00:00
|
|
|
class VulkanRenderDevice;
|
2022-07-02 08:09:59 +00:00
|
|
|
|
|
|
|
class VkPPTexture : public PPTextureBackend
|
|
|
|
{
|
|
|
|
public:
|
2022-12-11 17:30:01 +00:00
|
|
|
VkPPTexture(VulkanRenderDevice* fb, PPTexture *texture);
|
2022-07-02 08:09:59 +00:00
|
|
|
~VkPPTexture();
|
|
|
|
|
|
|
|
void Reset();
|
|
|
|
|
2022-12-11 17:30:01 +00:00
|
|
|
VulkanRenderDevice* fb = nullptr;
|
2022-07-02 08:09:59 +00:00
|
|
|
std::list<VkPPTexture*>::iterator it;
|
|
|
|
|
|
|
|
VkTextureImage TexImage;
|
|
|
|
std::unique_ptr<VulkanBuffer> Staging;
|
|
|
|
VkFormat Format;
|
|
|
|
};
|