axmol/cocos/renderer/backend/metal/DeviceInfoMTL.h

23 lines
356 B
C
Raw Normal View History

#pragma once
#include "../DeviceInfo.h"
#import <Metal/Metal.h>
CC_BACKEND_BEGIN
class DeviceInfoMTL : public DeviceInfo
{
public:
DeviceInfoMTL(id<MTLDevice> device);
virtual ~DeviceInfoMTL() = default;
virtual bool init() override;
private:
void getTextureSizeInfo();
2019-03-15 11:13:40 +08:00
//MTLFeatureSet _currentFeatureSet;
};
CC_BACKEND_END