Skip to content

Instantly share code, notes, and snippets.

View willbetheone's full-sized avatar
🧐
机器表达、理解、分析与决策

William willbetheone

🧐
机器表达、理解、分析与决策
View GitHub Profile
@willbetheone
willbetheone / OpenGLToCVPixelBuffer.m
Created March 9, 2022 06:04 — forked from caojianhua/OpenGLToCVPixelBuffer.m
Create CVPixelBufferRef from OpenGL
@interface SREAGLContext : NSObject
+ (EAGLContext*)sharedContext;
+ (EAGLContext*)newContext: (EAGLRenderingAPI) api;
@end
@implementation SREAGLContext