Skip to content

Instantly share code, notes, and snippets.

View chika-kasymov's full-sized avatar

Shyngys Kassymov chika-kasymov

View GitHub Profile
@chika-kasymov
chika-kasymov / ARCaptureRenderTarget.h
Created May 29, 2017 15:08
Example for video recording using Kudan iOS SDK
//
// ARCaptureRenderTarget.h
//
// Created by Shyngys Kassymov on 18.05.17.
//
#import <KudanAR/KudanAR.h>
#import <AVFoundation/AVFoundation.h>
@interface ARCaptureRenderTarget : ARRenderTarget {
#import "ARCaptureRenderTarget.h"
#import <CoreVideo/CoreVideo.h>
#import <AVFoundation/AVFoundation.h>
#include <OpenGLES/ES2/gl.h>
#include <OpenGLES/ES2/glext.h>
#include <OpenGLES/ES3/gl.h>
#include <OpenGLES/ES3/glext.h>
@implementation ARCaptureRenderTarget {
CVOpenGLESTextureCacheRef cvTextureCache;