KudanAR - iOS  1.6.0
ARVideoTexture() Category Reference

Instance Methods

(void) - addVideo
 
(void) - removeVideo
 

Protected Attributes

NSURL * _videoUrl
 
AVAssetReaderTrackOutput * _assetReaderTrackOutput
 
AVAssetReader * _assetReader
 
AVAssetTrack * _assetTrack
 
AVURLAsset * _urlAsset
 
CMSampleBufferRef _sampleBuff
 
CVImageBufferRef _imageBuff
 
CVOpenGLESTextureRef _textureRef
 
NSURL * _audioUrl
 
AVAudioPlayer * _audioPlayer
 
NSTimeInterval _lastFrameTime
 
unsigned _currentFrameNo
 
BOOL _isPlaying
 
BOOL _isAddedToRenderer
 
BOOL _syncWithAudio
 
BOOL _hasPlayed
 
BOOL _needsReset
 

Method Documentation

◆ addVideo

- (void) addVideo

Adds the video to the renderer and the video manager.

Should be called before the video is rendered.

◆ removeVideo

- (void) removeVideo

Removes the video from the renderer and the video manager.

Should be called when no rendering of the video is anticipated.


The documentation for this category was generated from the following files: