blob: e5ba68a899dd8c0995ad2b549722277b5fbff50f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
/*
Copyright (C) 2015 Apple Inc. All Rights Reserved.
See LICENSE.txt for this sample’s licensing information
Abstract:
The EAGLView class is a UIView subclass that renders OpenGL scene.
*/
#import "AppViewBase.h"
// This class wraps the CAEAGLLayer from CoreAnimation into a convenient UIView subclass.
// The view content is basically an EAGL surface you render your OpenGL scene into.
// Note that setting the view non-opaque will only work if the EAGL surface has an alpha channel.
@interface EAGLView : AppViewBase
- (void) drawView:(id)sender;
@end
|