AdvancedOptional AdvancedheightHeight of the texture. Auto-detected for GPUTexture, required for WebGLTexture.
Optional AdvancedlabelOptional label for debugging
AdvancedrendererThe renderer this texture will be used with
Optional AdvancedresourceThe external GPU texture (GPUTexture for WebGPU, WebGLTexture for WebGL).
If not provided, a shared 1x1 placeholder texture will be used until
updateGPUTexture() is called.
Optional AdvancedwidthWidth of the texture. Auto-detected for GPUTexture, required for WebGLTexture.
Options for creating an ExternalSource.