mirror of
https://github.com/DrBeef/Raze.git
synced 2024-12-03 01:22:12 +00:00
25 lines
504 B
C++
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;
|
|
};
|