libcruft-vk/framebuffer.cpp
2016-02-24 11:11:41 +11:00

16 lines
333 B
C++

#include "./framebuffer.hpp"
#include "./device.hpp"
using vk::framebuffer;
///////////////////////////////////////////////////////////////////////////////
VkExtent2D
framebuffer::area_granularity (const device &dev) const
{
VkExtent2D extent;
vkGetRenderAreaGranularity (dev.id (), id (), &extent);
return extent;
}