Interface: Live2DTextureSourceOptions
Defined in: node_modules/untitled-pixi-live2d-engine/types/index.d.ts:4034
Texture loading options accepted by Live2D model atlas loading.
Extends
Extended by
Properties
lod?
> optional lod?: Live2DTextureLODMode
Defined in: node_modules/untitled-pixi-live2d-engine/types/index.d.ts:3983
Selects the atlas LOD strategy for model textures.
full is the default and uses Pixi's mipmap generation for the original atlas.
single-auto creates one downsampled atlas on demand and switches to it while
rendering small models. false disables both paths.
Default
'full'Inherited from
lodFilter?
> optional lodFilter?: Live2DTextureLODFilter
Defined in: node_modules/untitled-pixi-live2d-engine/types/index.d.ts:4019
Sampling filter used while drawing the generated single-auto atlas.
Ignored unless lod is 'single-auto'.
Default
'linear'Inherited from
Live2DTextureLODOptions.lodFilter
lodMaxLevel?
> optional lodMaxLevel?: number
Defined in: node_modules/untitled-pixi-live2d-engine/types/index.d.ts:4011
Maximum generated single-auto LOD level. Each level halves the atlas width and
height once, so level 1 is 1/2 size and level 2 is 1/4 size.
Ignored unless lod is 'single-auto'.
Default
undefinedInherited from
Live2DTextureLODOptions.lodMaxLevel
lodScaleThreshold?
> optional lodScaleThreshold?: number
Defined in: node_modules/untitled-pixi-live2d-engine/types/index.d.ts:3993
Effective screen scale below which single-auto can switch to a generated
downsampled atlas. The effective scale is computed from model world scale and
renderer resolution.
Ignored unless lod is 'single-auto'.
Default
0.5Inherited from
Live2DTextureLODOptions.lodScaleThreshold
lodTextureSizeThreshold?
> optional lodTextureSizeThreshold?: number
Defined in: node_modules/untitled-pixi-live2d-engine/types/index.d.ts:4002
Minimum original atlas side length required before single-auto considers
generating a downsampled atlas.
Ignored unless lod is 'single-auto'.
Default
4096Inherited from
Live2DTextureLODOptions.lodTextureSizeThreshold
preferCreateImageBitmap?
> optional preferCreateImageBitmap?: boolean
Defined in: node_modules/untitled-pixi-live2d-engine/types/index.d.ts:4040
Forces Pixi to load texture resources without createImageBitmap. Cubism 2 textures use this because their WebGL upload path depends on HTML image sources.
Default
undefined