39 lines
653 B
C++
39 lines
653 B
C++
#pragma once
|
|
|
|
#ifndef NDEBUG
|
|
#define PB_DEBUG
|
|
namespace PB::Renderer
|
|
{
|
|
constexpr bool DEBUG_MODE = true;
|
|
constexpr const char* MODE_NAME = "DEBUG";
|
|
}
|
|
#else
|
|
#define PB_RELEASE
|
|
namespace PB::Renderer
|
|
{
|
|
constexpr bool DEBUG_MODE = false;
|
|
constexpr const char* MODE_NAME = "RELEASE";
|
|
}
|
|
#endif
|
|
|
|
/* Includes general project .h files */
|
|
|
|
#include "RendererTypes.h"
|
|
|
|
/* Includes dependencies */
|
|
|
|
#include <vulkan/vulkan.h>
|
|
|
|
#define GLFW_INCLUDE_VULKAN
|
|
#include <GLFW/glfw3.h>
|
|
|
|
/* Commonly used C++ STD files */
|
|
|
|
#include <cstring>
|
|
#include <filesystem>
|
|
#include <fstream>
|
|
#include <iostream>
|
|
#include <optional>
|
|
#include <set>
|
|
#include <vector>
|