Add support for depth clamping

This commit is contained in:
Jérôme Leclercq
2021-07-09 00:22:08 +02:00
parent 3a3279246f
commit 8458301a64
12 changed files with 74 additions and 2 deletions

View File

@@ -7,9 +7,9 @@
#ifndef NAZARA_RENDERPIPELINE_HPP
#define NAZARA_RENDERPIPELINE_HPP
#include <Nazara/Utility/Enums.hpp>
#include <Nazara/Renderer/RenderPipelineLayout.hpp>
#include <Nazara/Renderer/RenderStates.hpp>
#include <Nazara/Utility/Enums.hpp>
namespace Nz
{
@@ -26,6 +26,8 @@ namespace Nz
std::vector<VertexBufferData> vertexBuffers;
};
class RenderDevice;
class NAZARA_RENDERER_API RenderPipeline
{
public:
@@ -33,6 +35,9 @@ namespace Nz
virtual ~RenderPipeline();
virtual const RenderPipelineInfo& GetPipelineInfo() const = 0;
protected:
static void ValidatePipelineInfo(const RenderDevice& device, RenderPipelineInfo& pipelineInfo);
};
}