Enumeration InternalTextureSourceConst
Enumeration Members
Cube
Texture data comes from a cube data file
Cube Prefiltered
Texture data come from a prefiltered cube data file
Cube Raw
Texture data comes from a raw cube data
Cube Raw RGBD
Texture data comes from a raw cube data encoded with RGBD
Depth
Texture content is a depth texture
Depth Stencil
Texture content is a depth/stencil texture
Dynamic
Texture content is dynamic (video or dynamic texture)
External
Texture wraps an externally created graphics resource (WebGL handle, GPUTexture, native handle, etc.) supplied via wrap{WebGL,Native,WebGPU}Texture. On dispose, the wrapped resource is released along with the InternalTexture just like any other source. Consumers can repoint the wrapper at a fresh external handle (e.g., after context-loss / device-loss restore) via updateWrapped{WebGL,Native,WebGPU}Texture without losing references held by materials, render-target wrappers, particle systems, etc.
Multi Render Target
Texture content is part of a multi render target process
Raw
Texture data comes from raw data (ArrayBuffer)
Raw2 D Array
Texture content is raw 2D array data
Raw3 D
Texture content is raw 3D data
Render Target
Texture content is generated by rendering to it
Temp
Texture data is only used for temporary storage
Unknown
The source of the texture data is unknown
Url
Texture data comes from an URL
Defines the source of the internal texture