ExternalTexture
Creates an Android SurfaceTexture and Surface that can be displayed by Sceneform. Useful for displaying video, or anything else that can be drawn to a SurfaceTexture.
The getFilamentEngine OpenGL ES texture is automatically created by Sceneform. Also, updateTexImage is automatically called and should not be called manually.
Call setExternalTexture to use an ExternalTexture. The material parameter MUST be of type 'samplerExternal'.
Constructors
Link copied to clipboard
constructor(engine: Engine)
Creates an ExternalTexture with a new Android SurfaceTexture and Surface.