RetroArch
MenuDisplay.h
Go to the documentation of this file.
1 //
2 // Created by Stuart Carnie on 6/24/18.
3 //
4 
5 #import <Foundation/Foundation.h>
6 
7 @class Context;
8 
9 @interface MenuDisplay : NSObject
10 
11 @property (nonatomic, readwrite) BOOL blend;
12 @property (nonatomic, readwrite) MTLClearColor clearColor;
13 
14 - (instancetype)initWithContext:(Context *)context;
15 - (void)drawPipeline:(menu_display_ctx_draw_t *)draw video:(video_frame_info_t *)video;
16 - (void)draw:(menu_display_ctx_draw_t *)draw video:(video_frame_info_t *)video;
17 - (void)setScissorRect:(MTLScissorRect)rect;
19 
20 #pragma mark - static methods
21 
22 + (const float *)defaultVertices;
23 + (const float *)defaultTexCoords;
24 + (const float *)defaultColor;
25 
26 @end
Definition: MenuDisplay.h:9
MTLClearColor clearColor
Definition: MenuDisplay.h:12
#define const
Definition: zconf.h:217
const float * defaultColor()
Definition: MenuDisplay.m:57
const float * defaultTexCoords()
Definition: MenuDisplay.m:46
typedef void(__stdcall *PFN_DESTRUCTION_CALLBACK)(void *pData)
Definition: video_driver.h:405
const float * defaultVertices()
Definition: MenuDisplay.m:35
Definition: menu_driver.h:432
unsigned int BOOL
Definition: gctypes.h:51
struct tag_Context Context
Definition: peglib.h:302
void clearScissorRect()
Definition: MenuDisplay.m:85
BOOL blend
Definition: MenuDisplay.h:11
Context contains the render state used by various components.
Definition: Context.h:26