raze/source/common/rendering/vulkan/textures/vk_pptexture.h
2022-12-11 18:30:01 +01:00

25 lines
504 B
C++

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