RetroArch/gfx/common/metal/MenuDisplay.h
Stuart Carnie 5e1f991e32 feat(Metal): initial xmb and glui menu support
TODOs

* menu shader pipeline effects
* refactor / optimize graphics rendering
2018-07-03 22:32:12 -07:00

28 lines
566 B
Objective-C

//
// Created by Stuart Carnie on 6/24/18.
//
#import <Foundation/Foundation.h>
#import "ShaderTypes.h"
@class Context;
@class MetalDriver;
@interface MenuDisplay : NSObject
@property (readwrite) BOOL blend;
@property (readwrite) MTLClearColor clearColor;
- (instancetype)initWithDriver:(MetalDriver *)driver;
- (void)draw:(menu_display_ctx_draw_t *)draw video:(video_frame_info_t *)video;
#pragma mark - static methods
+ (const float *)defaultVertices;
+ (const float *)defaultTexCoords;
+ (const float *)defaultColor;
+ (const float *)defaultMatrix;
@end