Files
NazaraEngine/include/Nazara/Vulkan/VkPhysicalDevice.hpp
Lynix 7d73f0dcad Vulkan: Add physical device retrieval
Former-commit-id: 5c0e8256123fcfe5d3563b224bdcc11efa645fd3 [formerly cecb3404e98b1be4a5176fe27c1dec533e16701a]
Former-commit-id: a2fa7f6d96e3fe6f43af97b5c882d939a947fb9a
2016-06-19 15:31:53 +02:00

29 lines
646 B
C++

// Copyright (C) 2016 Jérôme Leclercq
// This file is part of the "Nazara Engine - Vulkan"
// For conditions of distribution and use, see copyright notice in Config.hpp
#pragma once
#ifndef NAZARA_VULKAN_VKPHYSICALDEVICE_HPP
#define NAZARA_VULKAN_VKPHYSICALDEVICE_HPP
#include <vulkan/vulkan.h>
#include <vector>
namespace Nz
{
namespace Vk
{
struct PhysicalDevice
{
VkPhysicalDevice device;
VkPhysicalDeviceFeatures features;
VkPhysicalDeviceMemoryProperties memoryProperties;
VkPhysicalDeviceProperties properties;
std::vector<VkQueueFamilyProperties> queues;
};
}
}
#endif // NAZARA_VULKAN_VKPHYSICALDEVICE_HPP