mirror of
https://github.com/ZDoom/qzdoom.git
synced 2025-01-10 03:30:44 +00:00
741d44d263
src/rendering/vulkan/renderer/vk_postprocess.h:16:48: error: ‘function’ in namespace ‘std’ does not name a template type
30 lines
561 B
C++
30 lines
561 B
C++
|
|
#pragma once
|
|
|
|
#include <functional>
|
|
|
|
#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();
|
|
};
|