// Copyright (C) 2016 Jérôme Leclercq // This file is part of the "Nazara Engine - Vulkan" // For conditions of distribution and use, see copyright notice in Config.hpp #pragma once #ifndef NAZARA_VULKAN_VKRENDERPASS_HPP #define NAZARA_VULKAN_VKRENDERPASS_HPP #include #include namespace Nz { namespace Vk { class RenderPass : public DeviceObject { friend DeviceObject; public: RenderPass() = default; RenderPass(const RenderPass&) = delete; RenderPass(RenderPass&&) = default; ~RenderPass() = default; RenderPass& operator=(const RenderPass&) = delete; RenderPass& operator=(RenderPass&&) = delete; private: static inline VkResult CreateHelper(const DeviceHandle& device, const VkRenderPassCreateInfo* createInfo, const VkAllocationCallbacks* allocator, VkRenderPass* handle); static inline void DestroyHelper(const DeviceHandle& device, VkRenderPass handle, const VkAllocationCallbacks* allocator); }; } } #include #endif // NAZARA_VULKAN_VKRENDERPASS_HPP