Skip to content

@bloopjs/toodle


@bloopjs/toodle / textures/types / CpuTextureAtlas

Type Alias: CpuTextureAtlas ​

CpuTextureAtlas = object

Defined in: textures/types.ts:58

A CpuTextureAtlas is a texture atlas that has been loaded into memory.

It contains the texture and a map of texture ids to TextureRegions.

Properties ​

height ​

height: number

Defined in: textures/types.ts:63


rg8Bytes? ​

optional rg8Bytes: Uint8Array<ArrayBuffer>

Defined in: textures/types.ts:60


texture ​

texture: ImageBitmap

Defined in: textures/types.ts:59


textureRegions ​

textureRegions: Map<string, TextureRegion>

Defined in: textures/types.ts:61


width ​

width: number

Defined in: textures/types.ts:62