20 lines
409 B
C++
20 lines
409 B
C++
#pragma once
|
|
|
|
#include <vulkan/vulkan.h>
|
|
|
|
namespace VkObjects
|
|
{
|
|
class Swapchain;
|
|
class Device;
|
|
|
|
class RenderPass final
|
|
{
|
|
const Device& device_;
|
|
VkRenderPass render_pass_;
|
|
public:
|
|
explicit RenderPass(const Device& device, const Swapchain& swapchain);
|
|
~RenderPass();
|
|
|
|
inline VkRenderPass get_native() const { return render_pass_; }
|
|
};
|
|
} |