Refactored the shader loading.
This commit is contained in:
parent
35198bce6b
commit
61931083c6
2 changed files with 58 additions and 52 deletions
|
|
@ -88,6 +88,8 @@ public:
|
|||
// imgui shader stuff
|
||||
std::vector<ComputeEffect> backgroundEffects;
|
||||
int currentBackgroundEffect{0};
|
||||
|
||||
// ZED's REFACTOR
|
||||
VkGUI _gui;
|
||||
|
||||
static VulkanEngine& Get();
|
||||
|
|
@ -114,6 +116,8 @@ private:
|
|||
void init_descriptors();
|
||||
void init_pipelines();
|
||||
void init_background_pipelines();
|
||||
void init_shaders();
|
||||
void load_shader(const char *file_name, const char *entry_point, ComputeEffect data);
|
||||
|
||||
void create_swapchain(uint32_t width, uint32_t height);
|
||||
void destroy_swapchain();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue