vkDestroyInstance(this->inst, NULL);
}
-void VkRenderFramework::InitState() {
+void VkRenderFramework::InitState(VkPhysicalDeviceFeatures *features) {
VkResult U_ASSERT_ONLY err;
- m_device = new VkDeviceObj(0, objs[0], device_extension_names);
+ m_device = new VkDeviceObj(0, objs[0], device_extension_names, features);
m_device->get_device_queue();
m_depthStencil = new VkDepthStencilObj(m_device);
void *userData = NULL);
void ShutdownFramework();
- void InitState();
+ void InitState(VkPhysicalDeviceFeatures *features = nullptr);
const VkRenderPassBeginInfo &renderPassBeginInfo() const {
return m_renderPassBeginInfo;