mirror of
https://github.com/ZDoom/Raze.git
synced 2024-11-16 17:32:13 +00:00
27 lines
554 B
C
27 lines
554 B
C
|
|
||
|
#pragma once
|
||
|
|
||
|
#include "hwrenderer/postprocessing/hw_postprocess.h"
|
||
|
#include "vulkan/system/vk_objects.h"
|
||
|
#include <list>
|
||
|
|
||
|
class VulkanFrameBuffer;
|
||
|
|
||
|
class VkPPShader : public PPShaderBackend
|
||
|
{
|
||
|
public:
|
||
|
VkPPShader(VulkanFrameBuffer* fb, PPShader *shader);
|
||
|
~VkPPShader();
|
||
|
|
||
|
void Reset();
|
||
|
|
||
|
VulkanFrameBuffer* fb = nullptr;
|
||
|
std::list<VkPPShader*>::iterator it;
|
||
|
|
||
|
std::unique_ptr<VulkanShader> VertexShader;
|
||
|
std::unique_ptr<VulkanShader> FragmentShader;
|
||
|
|
||
|
private:
|
||
|
FString LoadShaderCode(const FString &lumpname, const FString &defines, int version);
|
||
|
};
|