#include <GLFW/glfw3.h>
#include <external/stb_image.h>
#include <algorithm>
#include <array>
#include <chrono>
#include <cstdlib>
#include <cstring>
#include <fstream>
#include <glm/glm.hpp>
#include <glm/gtc/matrix_transform.hpp>
#include <iostream>
#include <mutex>
#include <optional>
#include <set>
#include <stdexcept>
#include <string>
#include <thread>
#include <unordered_map>
#include <vector>
#include "renderQueue.hpp"
Go to the source code of this file.
◆ GLFW_INCLUDE_VULKAN
| #define GLFW_INCLUDE_VULKAN |
◆ GLM_FORCE_RADIANS
| #define GLM_FORCE_RADIANS |
◆ KeyStatusEnum
| Enumerator |
|---|
| KEY_PRESSED | |
| KEY_RELEASED | |
◆ deviceExtensions
| const std::vector<const char*> deviceExtensions = {VK_KHR_SWAPCHAIN_EXTENSION_NAME} |
◆ enableValidationLayers
| const bool enableValidationLayers = true |
◆ HEIGHT
| const uint32_t HEIGHT = 600 |
◆ MAX_FRAMES_IN_FLIGHT
| const int MAX_FRAMES_IN_FLIGHT = 2 |
◆ MAX_IMAGE_ARRAYS
| const uint32_t MAX_IMAGE_ARRAYS = 128 |
◆ MAX_INDICES
| const size_t MAX_INDICES = 3600 |
◆ MAX_VERTICES
| const size_t MAX_VERTICES = 1200 |
◆ SHADER_DIR
| const char* SHADER_DIR = "../shaders" |
◆ validationLayers
| const std::vector<const char*> validationLayers = {"VK_LAYER_KHRONOS_validation"} |
◆ WIDTH
| const uint32_t WIDTH = 800 |