Load images and create a texture from them, optionally generating mip levels
Assumes all the urls reference images of the same size.
Example:
const texture = await createTextureFromImage( device, [ 'https://someimage1.url', 'https://someimage2.url', ], { mips: true, flipY: true, },); Copy
const texture = await createTextureFromImage( device, [ 'https://someimage1.url', 'https://someimage2.url', ], { mips: true, flipY: true, },);
Generated using TypeDoc
Load images and create a texture from them, optionally generating mip levels
Assumes all the urls reference images of the same size.
Example: