mirror of
https://github.com/libretro/RetroArch
synced 2025-01-18 04:12:07 +00:00
a0900ec433
Menu TODOs: * understand why ribbon does not look the same as GL * add clear support to `MenuDisplay` for glui
28 lines
644 B
Objective-C
28 lines
644 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 (nonatomic, readwrite) BOOL blend;
|
|
@property (nonatomic, readwrite) MTLClearColor clearColor;
|
|
|
|
- (instancetype)initWithDriver:(MetalDriver *)driver;
|
|
- (void)drawPipeline:(menu_display_ctx_draw_t *)draw video:(video_frame_info_t *)video;
|
|
- (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;
|
|
|
|
|
|
@end
|