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