// Copyright (C) 2020 Jérôme Leclercq // This file is part of the "Nazara Engine - Renderer module" // For conditions of distribution and use, see copyright notice in Config.hpp #pragma once #ifndef NAZARA_VULKANRENDERER_VULKANRENDERPIPELINELAYOUT_HPP #define NAZARA_VULKANRENDERER_VULKANRENDERPIPELINELAYOUT_HPP #include #include #include #include #include #include #include namespace Nz { class NAZARA_VULKANRENDERER_API VulkanRenderPipelineLayout : public RenderPipelineLayout { public: VulkanRenderPipelineLayout() = default; ~VulkanRenderPipelineLayout() = default; bool Create(Vk::Device& device, RenderPipelineLayoutInfo layoutInfo); inline const Vk::DescriptorSetLayout& GetDescriptorSetLayout() const; inline const Vk::PipelineLayout& GetPipelineLayout() const; private: MovablePtr m_device; Vk::DescriptorSetLayout m_descriptorSetLayout; Vk::PipelineLayout m_pipelineLayout; RenderPipelineLayoutInfo m_layoutInfo; }; } #include #endif // NAZARA_VULKANRENDERER_VULKANRENDERPIPELINE_HPP