File: ExternalTexture.md | Updated: 11/15/2025
Represents a texture created externally with the same renderer context.
This may be a texture from a protected media stream, device camera feed, or other data feeds like a depth sensor.
Note that this class is only supported in WebGLRenderer, and in the WebGPURenderer WebGPU backend.
Creates a new raw texture.
sourceTexture | The external texture. Default is null.
---|---
This flag can be used for type testing.
Default is true.
The external source texture.
Default is null.