Capítulo 225 de 859
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.
Constructor
| Signature |
|---|
| `new ExternalTexture( sourceTexture : WebGLTexture |
Properties
| Property | Description |
|---|---|
.isExternalTexture : boolean (readonly) | This flag can be used for type testing. |
| `.sourceTexture : WebGLTexture | GPUTexture` |