public void DrawScreen(GpuBuffer gpuBuffer) { if (!isWebCamReady) { return; } #if UNITY_STANDALONE_LINUX || UNITY_STANDALONE_OSX || UNITY_ANDROID // TODO: create an external texture outputTexture.UpdateExternalTexture((IntPtr)gpuBuffer.GetGlTextureBuffer().Name()); #else throw new NotSupportedException(); #endif }
public void DrawScreen(GpuBuffer gpuBuffer) { // TODO: create an external texture outputTexture.UpdateExternalTexture((IntPtr)gpuBuffer.GetGlTextureBuffer().Name()); }