mirror of
https://github.com/jpd002/Play-.git
synced 2025-04-28 13:47:57 +03:00
20 lines
298 B
C++
20 lines
298 B
C++
#pragma once
|
|
|
|
#include "outputwindow.h"
|
|
|
|
class VulkanWindow : public OutputWindow
|
|
{
|
|
Q_OBJECT
|
|
public:
|
|
explicit VulkanWindow(QWindow* parent = 0);
|
|
~VulkanWindow() = default;
|
|
|
|
#ifdef __APPLE__
|
|
void* GetMetalLayer() const;
|
|
#endif
|
|
|
|
private:
|
|
#ifdef __APPLE__
|
|
void* m_metalLayer = nullptr;
|
|
#endif
|
|
};
|