CheeseEngine
A 2D Game Engine
Loading...
Searching...
No Matches
Classes | Macros | Enumerations | Variables
graphicCore.hpp File Reference
#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"
Include dependency graph for graphicCore.hpp:

Go to the source code of this file.

Classes

class  GraphicCore
 Class that implements graphic system. More...
 
struct  GraphicCore::QueueFamilyIndicies
 
struct  GraphicCore::SwapChainSupportDetails
 
struct  GraphicCore::UniformBufferObject
 
struct  GraphicCore::PushConstant
 
struct  GraphicCore::FigureDesc
 
struct  GraphicCore::Camera
 
struct  GraphicCore::Vertex
 
struct  GraphicCore::TextureArray
 

Macros

#define GLFW_INCLUDE_VULKAN
 
#define GLM_FORCE_RADIANS
 

Enumerations

enum  KeyStatusEnum { KEY_PRESSED , KEY_RELEASED }
 

Variables

const uint32_t HEIGHT = 600
 
const uint32_t WIDTH = 800
 
const int MAX_FRAMES_IN_FLIGHT = 2
 
const size_t MAX_VERTICES = 1200
 
const size_t MAX_INDICES = 3600
 
const uint32_t MAX_IMAGE_ARRAYS = 128
 
const std::vector< const char * > validationLayers = {"VK_LAYER_KHRONOS_validation"}
 
const std::vector< const char * > deviceExtensions = {VK_KHR_SWAPCHAIN_EXTENSION_NAME}
 
const char * SHADER_DIR = "../shaders"
 
const bool enableValidationLayers = true
 

Macro Definition Documentation

◆ GLFW_INCLUDE_VULKAN

#define GLFW_INCLUDE_VULKAN

◆ GLM_FORCE_RADIANS

#define GLM_FORCE_RADIANS

Enumeration Type Documentation

◆ KeyStatusEnum

Enumerator
KEY_PRESSED 
KEY_RELEASED 

Variable Documentation

◆ 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