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

27 lines
742 B
C++

#pragma once
#include "hwrenderer/postprocessing/hw_postprocess.h"
#include <zvulkan/vulkanobjects.h>
class VkPPRenderPassSetup;
class VkPPShader;
class VkPPTexture;
class VkTextureImage;
class VulkanRenderDevice;
class VkPPRenderState : public PPRenderState
{
public:
VkPPRenderState(VulkanRenderDevice* fb);
void PushGroup(const FString &name) override;
void PopGroup() override;
void Draw() override;
private:
void RenderScreenQuad(VkPPRenderPassSetup *passSetup, VulkanDescriptorSet *descriptorSet, VulkanFramebuffer *framebuffer, int framebufferWidth, int framebufferHeight, int x, int y, int width, int height, const void *pushConstants, uint32_t pushConstantsSize, bool stencilTest);
VulkanRenderDevice* fb = nullptr;
};