Skip to content

@bloopjs/toodle


@bloopjs/toodle / backends/ITextureAtlas / TextureAtlasOptions

Type Alias: TextureAtlasOptions ​

TextureAtlasOptions = object

Defined in: backends/ITextureAtlas.ts:9

Options for creating a texture atlas.

Properties ​

format? ​

optional format: TextureAtlasFormat

Defined in: backends/ITextureAtlas.ts:11

Texture format (default: "rgba8unorm")


layers? ​

optional layers: number

Defined in: backends/ITextureAtlas.ts:13

Number of array layers (default: limits.textureArrayLayers)


size? ​

optional size: number

Defined in: backends/ITextureAtlas.ts:15

Atlas size in pixels (default: limits.textureSize)