Major refactoring, removed the usage of the global header and replaced with getters and setters. Cleaned up headers and what is included.
This commit is contained in:
@@ -1,20 +1,16 @@
|
||||
#pragma once
|
||||
#include "../global.h"
|
||||
#include "../devicelibrary.h"
|
||||
#include "buffers.h"
|
||||
#include "texture.h"
|
||||
#include <fstream>
|
||||
#define VK_NO_PROTOTYPES
|
||||
#include "volk.h"
|
||||
|
||||
namespace graphics_pipeline {
|
||||
class Graphics {
|
||||
public:
|
||||
static void createGraphicsPipeline();
|
||||
static void destroyGraphicsPipeline();
|
||||
static void createFramebuffers();
|
||||
static void destroyFramebuffers();
|
||||
static void createCommandPool();
|
||||
static void destroyCommandPool();
|
||||
static void createCommandBuffer();
|
||||
static void recordCommandBuffer(VkCommandBuffer cmndBuffer, uint32_t imageIndex);
|
||||
};
|
||||
}
|
||||
class Graphics {
|
||||
public:
|
||||
static void createGraphicsPipeline();
|
||||
static void destroyGraphicsPipeline();
|
||||
static void createFramebuffers();
|
||||
static void destroyFramebuffers();
|
||||
static void createCommandPool();
|
||||
static void destroyCommandPool();
|
||||
static void createCommandBuffer();
|
||||
static void recordCommandBuffer(VkCommandBuffer cmndBuffer,
|
||||
uint32_t imageIndex);
|
||||
};
|
||||
|
Reference in New Issue
Block a user