Unity-Technologies / com.unity.uiwidgets

UIWidgets is a Unity Package which helps developers to create, debug and deploy efficient, cross-platform Apps.
https://unity.cn/uiwidgets
627 stars 78 forks source link

Use external Texture in 2.0 #283

Closed garsonlab closed 2 years ago

garsonlab commented 2 years ago

new Texture(textureId: UnityEngine.RenderTexture.GetNativeTexturePtr().ToInt32()) is not display in my project. And is there a way to show NV12 or custom material combined texture

zhuxingwei commented 2 years ago

Hi thanks a lot for the report!

Currently Texture is not fully supported in UIWidgets 2.0 yet so we didn't merge this feature into master. Specifically, you can try this working branch siyaoH/1.17externalTexture for a quick preview of our current progress on bringing back this feature.

If your project need this feature urgently, please try UIWidgets 1.0 instead which fully support the feature of external Texture.

zhuxingwei commented 2 years ago

This feature is now partially implemented by #340 . Please read this documentation for the details.