mirror of
https://github.com/libretro/RetroArch.git
synced 2024-11-29 03:00:24 +00:00
29 lines
619 B
Objective-C
29 lines
619 B
Objective-C
//
|
|
// RView.h
|
|
// MetalRenderer
|
|
//
|
|
// Created by Stuart Carnie on 5/31/18.
|
|
// Copyright © 2018 Stuart Carnie. All rights reserved.
|
|
//
|
|
|
|
#import "RendererCommon.h"
|
|
#import <Foundation/Foundation.h>
|
|
#import <Metal/Metal.h>
|
|
|
|
typedef NS_ENUM(NSInteger, ViewDrawState)
|
|
{
|
|
ViewDrawStateNone = 0x00,
|
|
ViewDrawStateContext = 0x01,
|
|
ViewDrawStateEncoder = 0x02,
|
|
|
|
ViewDrawStateAll = 0x03,
|
|
};
|
|
|
|
@interface ViewDescriptor : NSObject
|
|
@property (nonatomic, readwrite) RPixelFormat format;
|
|
@property (nonatomic, readwrite) RTextureFilter filter;
|
|
@property (nonatomic, readwrite) CGSize size;
|
|
|
|
- (instancetype)init;
|
|
@end
|