mirror of
https://github.com/jpd002/Play-.git
synced 2025-04-28 21:57:57 +03:00
20 lines
416 B
Objective-C
20 lines
416 B
Objective-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();
|
|
};
|