mirror of
https://github.com/ZDoom/qzdoom.git
synced 2025-01-09 19:20:47 +00:00
29 lines
538 B
C
29 lines
538 B
C
|
|
||
|
#pragma once
|
||
|
|
||
|
#include "vulkan/system/vk_objects.h"
|
||
|
|
||
|
class FString;
|
||
|
|
||
|
class VkPostprocess
|
||
|
{
|
||
|
public:
|
||
|
VkPostprocess();
|
||
|
~VkPostprocess();
|
||
|
|
||
|
void RenderBuffersReset();
|
||
|
|
||
|
void PostProcessScene(int fixedcm, const std::function<void()> &afterBloomDrawEndScene2D);
|
||
|
|
||
|
void AmbientOccludeScene(float m5);
|
||
|
void BlurScene(float gameinfobluramount);
|
||
|
void ClearTonemapPalette();
|
||
|
|
||
|
private:
|
||
|
void UpdateEffectTextures();
|
||
|
void CompileEffectShaders();
|
||
|
void RenderEffect(const FString &name);
|
||
|
void NextEye(int eyeCount);
|
||
|
void RenderScreenQuad();
|
||
|
};
|