Starting to unhardcode, pipelines are now created from outside
This commit is contained in:
parent
2b33897b4a
commit
dc3ac2fdf5
16 changed files with 386 additions and 159 deletions
|
@ -26,6 +26,7 @@
|
|||
#include "instance.h"
|
||||
#include "physicaldevice.h"
|
||||
#include "logicaldevice.h"
|
||||
#include "program/program.h"
|
||||
|
||||
namespace Engine {
|
||||
|
||||
|
@ -39,6 +40,7 @@ public:
|
|||
void run();
|
||||
void addDeviceExtension(const std::string& extensionName);
|
||||
void enableDebug();
|
||||
void addProgram(const Program& program);
|
||||
|
||||
private:
|
||||
void initVulkan();
|
||||
|
@ -56,6 +58,7 @@ private:
|
|||
LogicalDevice* logicalDevice;
|
||||
std::set<std::string> deviceExtensionNames;
|
||||
std::vector<const char*> deviceExtensions;
|
||||
std::vector<Program> programs;
|
||||
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue