RetroArch
TexturedView.h
Go to the documentation of this file.
1 //
2 // Created by Stuart Carnie on 6/16/18.
3 //
4 
5 #import "View.h"
6 
7 @interface TexturedView : NSObject
8 
9 @property (nonatomic, readonly) RPixelFormat format;
10 @property (nonatomic, readonly) RTextureFilter filter;
11 @property (nonatomic, readwrite) BOOL visible;
12 @property (nonatomic, readwrite) CGRect frame;
13 @property (nonatomic, readwrite) CGSize size;
14 @property (nonatomic, readonly) ViewDrawState drawState;
15 
16 - (instancetype)initWithDescriptor:(ViewDescriptor *)td context:(Context *)c;
17 
18 - (void)drawWithContext:(Context *)ctx;
19 - (void)drawWithEncoder:(id<MTLRenderCommandEncoder>)rce;
20 - (void)updateFrame:(void const *)src pitch:(NSUInteger)pitch;
21 
22 @end
#define const
Definition: zconf.h:217
Definition: ffmpeg_core.c:151
GLsizeiptr size
Definition: glext.h:6559
typedef void(__stdcall *PFN_DESTRUCTION_CALLBACK)(void *pData)
ViewDrawState drawState
Definition: TexturedView.h:14
unsigned int BOOL
Definition: gctypes.h:51
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
Definition: TexturedView.h:7
BOOL visible
Definition: TexturedView.h:11
Context contains the render state used by various components.
Definition: Context.h:26