AVBasicVideoOutput/APLEAGLView.h
/* |
Copyright (C) 2015 Apple Inc. All Rights Reserved. |
See LICENSE.txt for this sample’s licensing information |
Abstract: |
This class contains an UIView backed by a CAEAGLLayer. It handles rendering input textures to the view. The object loads, compiles and links the fragment and vertex shader to be used during rendering. |
*/ |
#import <UIKit/UIKit.h> |
#import <OpenGLES/ES2/gl.h> |
#import <OpenGLES/ES2/glext.h> |
@interface APLEAGLView : UIView |
@property GLfloat preferredRotation; |
@property CGSize presentationRect; |
@property GLfloat chromaThreshold; |
@property GLfloat lumaThreshold; |
- (void)setupGL; |
- (void)displayPixelBuffer:(CVPixelBufferRef)pixelBuffer; |
@end |
Copyright © 2015 Apple Inc. All Rights Reserved. Terms of Use | Privacy Policy | Updated: 2015-10-01