RetroArch
View.h
Go to the documentation of this file.
1 //
2 // RView.h
3 // MetalRenderer
4 //
5 // Created by Stuart Carnie on 5/31/18.
6 // Copyright © 2018 Stuart Carnie. All rights reserved.
7 //
8 
9 #import "RendererCommon.h"
10 #import <Foundation/Foundation.h>
11 #import <Metal/Metal.h>
12 
13 typedef NS_ENUM(NSInteger, ViewDrawState)
14 {
15  ViewDrawStateNone = 0x00,
16  ViewDrawStateContext = 0x01,
17  ViewDrawStateEncoder = 0x02,
18 
19  ViewDrawStateAll = 0x03,
20 };
21 
22 @interface ViewDescriptor : NSObject
23 @property (nonatomic, readwrite) RPixelFormat format;
24 @property (nonatomic, readwrite) RTextureFilter filter;
25 @property (nonatomic, readwrite) CGSize size;
26 
27 - (instancetype)init;
28 @end
GLsizeiptr size
Definition: glext.h:6559
instancetype init()
Definition: View.m:14
GLint GLint GLsizei GLsizei GLsizei GLint GLenum format
Definition: glext.h:6293
Definition: View.h:22
GLint GLint GLint GLint GLint GLint GLint GLbitfield GLenum filter
Definition: glext.h:7672
typedef NS_ENUM(NSInteger, ViewDrawState)
Definition: View.h:13