frame_buffer.cpp

1
2
#include <planet/vk/device.hpp>
#include <planet/vk/frame_buffer.hpp>

planet::vk::frame_buffer

 8
 9
10
11
12
planet::vk::frame_buffer::frame_buffer(
        vk::device &d, VkFramebufferCreateInfo const &info)
: device{d} {
    handle.create<vkCreateFramebuffer>(device.get(), info);
}