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