#pragma once

#include "OpenGLRenderer.h"
#include "ShaderTypes.h"

#include <vector>

class GlobalParamsBuffer
{
public:
	explicit GlobalParamsBuffer(OpenGLRenderer& renderer);

	bool Update(const RuntimeRenderState& state, unsigned availableSourceHistoryLength, unsigned availableTemporalHistoryLength, bool feedbackAvailable);

private:
	OpenGLRenderer& mRenderer;
	std::vector<unsigned char> mScratchBuffer;
};
