Skip to content

Instantly share code, notes, and snippets.

void bindTextureFromPixelBufferFastPathES(VideoCacheData* videoInstance)
{
@autoreleasepool
{
UnityAVFoundationPlayer* videoPtr = (UnityAVFoundationPlayer*) videoInstance->videoPtr;
if(videoPtr == 0 || videoPtr == nil)
return;
if(!glIsTexture(videoInstance->textureID))