textures/index library
Classes
- CanvasTexture
- Creates a texture from a canvas element.
- CompressedTexture
- Creates an texture 2D array based on data in compressed form, for example from a DDS file.
- CubeTexture
- Creates a cube texture made up of six images.
- Data3DTexture
- Creates a three-dimensional texture from raw data, with parameters to divide it into width, height, and depth.
- DataArrayTexture
- Creates an array of textures directly from raw data, width and height and depth.
- DataTexture
- Creates a texture directly from raw data, width and height.
- DepthTexture
- This class can be used to automatically save the depth information of a rendering into a texture.
- FramebufferTexture
- This class can only be used in combination with WebGLRenderer.copyFramebufferToTexture. final pixelRatio = devicePixelRatio; final textureSize = 128 * pixelRatio;
- GroupTexture
- ImageDataInfo
- ImageElement
- OpenGLTexture
- Source
- Represents the data source of a texture.
- Texture
- Create a texture to apply to a surface or as a reflection or refraction map.
- VideoTexture
Functions
-
serializeImage(
dynamic image) → Map< String, dynamic>