Skip to content

@bloopjs/toodle


@bloopjs/toodle / textures/util / packBitmapsToAtlas

Function: packBitmapsToAtlas() ​

packBitmapsToAtlas(images, textureSize, device): Promise<CpuTextureAtlas[]>

Defined in: textures/util.ts:18

Parameters ​

images ​

Map<string, TextureWithMetadata>

textureSize ​

number

device ​

GPUDevice

Returns ​

Promise<CpuTextureAtlas[]>