Virtual function for enabling features for the logical device creation (called after physical device features have been read)

This commit is contained in:
saschawillems 2017-03-08 21:29:38 +01:00
parent ab95c2f29a
commit 83806a43c2
2 changed files with 16 additions and 8 deletions

View file

@ -333,6 +333,9 @@ public:
// Can be overriden in derived class to setup a custom render pass (e.g. for MSAA)
virtual void setupRenderPass();
/** @brief (Virtual) called after the physical device features have been read, used to set features to enable on the device */
virtual void getEnabledFeatures();
// Connect and prepare the swap chain
void initSwapchain();
// Create swap chain images