2018-06-30 05:57:48 +00:00
|
|
|
//
|
|
|
|
// Created by Stuart Carnie on 6/24/18.
|
|
|
|
//
|
|
|
|
|
|
|
|
#import <Foundation/Foundation.h>
|
|
|
|
|
|
|
|
@class Context;
|
|
|
|
|
|
|
|
@interface MenuDisplay : NSObject
|
|
|
|
|
2018-07-04 05:28:33 +00:00
|
|
|
@property (nonatomic, readwrite) BOOL blend;
|
|
|
|
@property (nonatomic, readwrite) MTLClearColor clearColor;
|
2018-06-30 05:57:48 +00:00
|
|
|
|
2018-07-13 04:33:18 +00:00
|
|
|
- (instancetype)initWithContext:(Context *)context;
|
2018-06-30 17:30:43 +00:00
|
|
|
- (void)drawPipeline:(menu_display_ctx_draw_t *)draw video:(video_frame_info_t *)video;
|
2018-06-30 05:57:48 +00:00
|
|
|
- (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
|