Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- _imageTexture2D = new Texture2D(600, 600, TextureFormat.RGB24, false);
- _rawImage.texture = _imageTexture2D;
- _imageTexture2D.Apply();
- intPtr = _imageTexture2D.GetNativeTexturePtr()
- _ajc = tempAjc.CallStatic<AndroidJavaObject>("CreateInstance", intPtr.ToInt32());
- mSurfaceTexture = new SurfaceTexture(mTextureId);
- mSurfaceTexture.updateTexImage();
Add Comment
Please, Sign In to add comment