Skip to content

@blooper.gg/toodle


@blooper.gg/toodle / textures/util / packBitmapsToAtlas

Function: packBitmapsToAtlas()

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

Defined in: textures/util.ts:110

Parameters

images

Map<string, TextureWithMetadata>

textureSize

number

device

GPUDevice

Returns

Promise<CpuTextureAtlas[]>