16#import <OpenGLES/EAGL.h>
17#import <UIKit/UIKit.h>
19NS_ASSUME_NONNULL_BEGIN
39- (instancetype)initWithFrame:(CGRect)frame;
58- (void)loadMarkerTex:(nullable NSString *)markerID;
97@property(nonatomic, strong, nullable) NSArray<NSArray<NSString *> *> *
soundNames;
A self-contained OpenGL ES view that previews a marker's hit animation.
Definition MarkerTestView.h:25
NSString * currentMarker
The current marker identifier, set when marker textures are loaded.
Definition MarkerTestView.h:88
void reset()
Resets the press flags, timing state, and base time to start a fresh preview.
Definition MarkerTestView.m:352
void destroyFramebuffer()
Deletes the framebuffer, colour renderbuffer, and index buffer.
Definition MarkerTestView.m:230
Class layerClass()
Returns CAEAGLLayer so the view is backed by a Core Animation EAGL layer.
Definition MarkerTestView.m:123
NSArray< NSArray< NSString * > * > * soundNames
The per-theme hit-sound names, indexed by JubeatTheme .
Definition MarkerTestView.h:97
void releaseTex()
Releases the ten sprite-sheet textures and resets the current marker.
Definition MarkerTestView.m:339
void draw()
Advances the timing state machine, plays the matching hit sound, and renders one frame.
Definition MarkerTestView.m:360
BOOL createFramebuffer()
Creates the framebuffer, colour renderbuffer, and shared quad index buffer, and configures the fixed-...
Definition MarkerTestView.m:175