Vulkan/Device: Make Device a handled object
Former-commit-id: 16a96932dfff6cea44cf57261543d3e452028f01
This commit is contained in:
parent
1d3d6a4d1a
commit
0b0f7f0755
|
|
@ -8,6 +8,7 @@
|
|||
#define NAZARA_VULKAN_VKDEVICE_HPP
|
||||
|
||||
#include <Nazara/Prerequesites.hpp>
|
||||
#include <Nazara/Core/HandledObject.hpp>
|
||||
#include <Nazara/Vulkan/Config.hpp>
|
||||
#include <Nazara/Vulkan/VkLoader.hpp>
|
||||
#include <vulkan/vulkan.h>
|
||||
|
|
@ -17,9 +18,12 @@ namespace Nz
|
|||
{
|
||||
namespace Vk
|
||||
{
|
||||
class Device;
|
||||
class Instance;
|
||||
|
||||
class NAZARA_VULKAN_API Device
|
||||
using DeviceHandle = ObjectHandle<Device>;
|
||||
|
||||
class NAZARA_VULKAN_API Device : public HandledObject<Device>
|
||||
{
|
||||
public:
|
||||
inline Device(Instance& instance);
|
||||
|
|
|
|||
Loading…
Reference in New Issue