mirror of
https://github.com/ZDoom/Raze.git
synced 2024-11-24 21:11:26 +00:00
26 lines
554 B
C++
26 lines
554 B
C++
|
|
#pragma once
|
|
|
|
#include "hwrenderer/postprocessing/hw_postprocess.h"
|
|
#include <zvulkan/vulkanobjects.h>
|
|
#include <list>
|
|
|
|
class VulkanRenderDevice;
|
|
|
|
class VkPPShader : public PPShaderBackend
|
|
{
|
|
public:
|
|
VkPPShader(VulkanRenderDevice* fb, PPShader *shader);
|
|
~VkPPShader();
|
|
|
|
void Reset();
|
|
|
|
VulkanRenderDevice* 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);
|
|
};
|