Files
OrderScheduling/OrderScheduling/Video/VideoTools/AAPLEAGLLayer.h
2025-08-06 17:14:43 +08:00

21 lines
571 B
Objective-C
Executable File
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

/*
Copyright (C) 2014 Apple Inc. All Rights Reserved.
See LICENSE.txt for this samples licensing information
Abstract:
This CAEAGLLayer subclass demonstrates how to draw a CVPixelBufferRef using OpenGLES and display the timecode associated with that pixel buffer in the top right corner.
*/
//@import QuartzCore;
#include <QuartzCore/QuartzCore.h>
#include <CoreVideo/CoreVideo.h>
@interface AAPLEAGLLayer : CAEAGLLayer
@property CVPixelBufferRef pixelBuffer;
- (id)initWithFrame:(CGRect)frame;
- (void)resetRenderBuffer;
- (void) cleanUpTextures;
@end