mirror of
https://github.com/jpd002/Play-.git
synced 2025-04-28 21:57:57 +03:00
21 lines
416 B
C
21 lines
416 B
C
![]() |
#pragma once
|
||
|
|
||
|
#import <QuartzCore/QuartzCore.h>
|
||
|
#include "../gs/GSH_Vulkan/GSH_Vulkan.h"
|
||
|
|
||
|
class CGSH_VulkaniOS : public CGSH_Vulkan
|
||
|
{
|
||
|
public:
|
||
|
CGSH_VulkaniOS(CAMetalLayer*);
|
||
|
virtual ~CGSH_VulkaniOS() = default;
|
||
|
|
||
|
static FactoryFunction GetFactoryFunction(CAMetalLayer*);
|
||
|
|
||
|
void InitializeImpl() override;
|
||
|
void PresentBackbuffer() override;
|
||
|
|
||
|
private:
|
||
|
CAMetalLayer* m_layer = nullptr;
|
||
|
void CreateFramebuffer();
|
||
|
};
|