new TextureArray() → {TextureArray}
Texture array object for holding array of images into
texures unit that can be used by other texture primitives.
- Source:
Returns:
- Type
- TextureArray
Methods
getMaterial(options)
Get and create the material containing shaders and the textures.
The texture must be read and ready before calling this function.
Parameters:
Name | Type | Description | |||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
options |
Object | Customise the material with the options object.
Properties
|
- Source:
(async) loadFromImages(srcArrays)
Read images from an array containg src locations.
Parameters:
Name | Type | Description |
---|---|---|
srcArrays |
Array | List of source location of the images. |
- Source: