libcruft-vk/framebuffer.cpp

16 lines
333 B
C++
Raw Normal View History

2016-02-24 11:11:41 +11:00
#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;
}