16 lines
333 B
C++
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;
|
|
}
|