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
23 lines
653 B
Objective-C
23 lines
653 B
Objective-C
//
|
|
// Created by Stuart Carnie on 6/16/18.
|
|
//
|
|
|
|
#import "View.h"
|
|
|
|
@interface TexturedView : NSObject
|
|
|
|
@property (nonatomic, readonly) RPixelFormat format;
|
|
@property (nonatomic, readonly) RTextureFilter filter;
|
|
@property (nonatomic, readwrite) BOOL visible;
|
|
@property (nonatomic, readwrite) CGRect frame;
|
|
@property (nonatomic, readwrite) CGSize size;
|
|
@property (nonatomic, readonly) ViewDrawState drawState;
|
|
|
|
- (instancetype)initWithDescriptor:(ViewDescriptor *)td context:(Context *)c;
|
|
|
|
- (void)drawWithContext:(Context *)ctx;
|
|
- (void)drawWithEncoder:(id<MTLRenderCommandEncoder>)rce;
|
|
- (void)updateFrame:(void const *)src pitch:(NSUInteger)pitch;
|
|
|
|
@end
|