You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
35 lines
706 B
35 lines
706 B
2 weeks ago
|
#ifndef TYPES_H
|
||
|
#define TYPES_H
|
||
|
|
||
|
#pragma once
|
||
|
|
||
|
#include <vulkan/vulkan.h>
|
||
|
#include <iostream>
|
||
|
|
||
|
#pragma once
|
||
|
|
||
|
#define VK_USE_PLATFORM_
|
||
|
#define GLFW_INCLUDE_VULKAN
|
||
|
#include <GLFW/glfw3.h>
|
||
|
#define GLFW_EXPOSE_NATIVE_
|
||
|
#include <GLFW/glfw3native.h>
|
||
|
|
||
|
#define GLM_FORCE_RADIANS
|
||
|
//#define GLM_FORCE_DEFAULT_ALIGNED_GENTYPES
|
||
|
#define GLM_FORCE_DEPTH_ZERO_TO_ONE
|
||
|
#include <glm/glm.hpp>
|
||
|
#include <glm/gtc/matrix_transform.hpp>
|
||
|
|
||
|
#include <stb_image/stb_image.h>
|
||
|
#include <tiny_obj_loader/tiny_obj_loader.h>
|
||
|
|
||
|
#include <QObject>
|
||
|
|
||
|
struct SwapChainSupportDetails {
|
||
|
VkSurfaceCapabilitiesKHR capabilities;
|
||
|
std::vector<VkSurfaceFormatKHR> formats;
|
||
|
std::vector<VkPresentModeKHR> presentModes;
|
||
|
};
|
||
|
|
||
|
#endif // TYPES_H
|