Interface ICreateTexture2DArrayFromImageUrlsOptions
interface ICreateTexture2DArrayFromImageUrlsOptions {
generateMipMaps?: boolean;
imageBitmapOptions?: ImageBitmapOptions;
invertY?: boolean;
premultiplyAlpha?: boolean;
samplingMode?: number;
textureType?: number;
}
generateMipMaps?: boolean;
imageBitmapOptions?: ImageBitmapOptions;
invertY?: boolean;
premultiplyAlpha?: boolean;
samplingMode?: number;
textureType?: number;
}
Hierarchy (View Summary)
- IUploadImageToTexture2DArrayLayerOptions
- ICreateTexture2DArrayFromImageUrlsOptions
Index
Properties
Optionalgenerate Mip Maps
generateMipMaps?: boolean
Defines if mip levels should be generated (true by default)
Optionalimage Bitmap Options
imageBitmapOptions?: ImageBitmapOptions
Options forwarded to createImageBitmap when decoding each url
Optionalinvert Y
invertY?: boolean
Defines if the source must be stored with the Y axis inverted (false by default)
Optionalpremultiply Alpha
premultiplyAlpha?: boolean
Defines if the source alpha must be premultiplied (false by default)
Optionalsampling Mode
samplingMode?: number
Defines the sampling mode to use (Texture.TRILINEAR_SAMPLINGMODE by default)
Optionaltexture Type
textureType?: number
Defines the texture type (Constants.TEXTURETYPE_UNSIGNED_BYTE by default)
Options controlling the creation of a 2D array texture from a list of image urls.