@bloopjs/toodle / backends/ITextureAtlas / ITextureAtlas
Interface: ITextureAtlas
Defined in: backends/ITextureAtlas.ts:24
Backend-agnostic texture atlas interface.
Texture atlases are GPU texture arrays that store multiple textures. Each backend manages its atlases and provides this common interface.
Properties
format
readonlyformat:TextureAtlasFormat
Defined in: backends/ITextureAtlas.ts:28
Texture format
handle
readonlyhandle:unknown
Defined in: backends/ITextureAtlas.ts:34
Underlying GPU handle (GPUTexture for WebGPU, WebGLTexture for WebGL)
id
readonlyid:string
Defined in: backends/ITextureAtlas.ts:26
Unique identifier for this atlas
layers
readonlylayers:number
Defined in: backends/ITextureAtlas.ts:30
Number of array layers
size
readonlysize:number
Defined in: backends/ITextureAtlas.ts:32
Size in pixels (width = height)