# Interface: CreateTextureOptions (/jsdoc/pixi-vn-live2d/core/interfaces/CreateTextureOptions)



Defined in: node\_modules/untitled-pixi-live2d-engine/types/index.d.ts:4042

Texture loading options accepted by Live2D model atlas loading.

## Extends [#extends]

* [`Live2DTextureSourceOptions`](/jsdoc/pixi-vn-live2d/core/interfaces/Live2DTextureSourceOptions)

## Properties [#properties]

### crossOrigin? [#crossorigin]

\> `optional` &#x2A;*crossOrigin?**: `string`

Defined in: node\_modules/untitled-pixi-live2d-engine/types/index.d.ts:4043

***

### lod? [#lod]

\> `optional` &#x2A;*lod?**: [`Live2DTextureLODMode`](/jsdoc/pixi-vn-live2d/core/type-aliases/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 [#default]

```ts
'full'
```

#### Inherited from [#inherited-from]

[`Live2DTextureSourceOptions`](/jsdoc/pixi-vn-live2d/core/interfaces/Live2DTextureSourceOptions).[`lod`](/jsdoc/pixi-vn-live2d/core/interfaces/Live2DTextureSourceOptions#lod)

***

### lodFilter? [#lodfilter]

\> `optional` &#x2A;*lodFilter?**: [`Live2DTextureLODFilter`](/jsdoc/pixi-vn-live2d/core/type-aliases/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 [#default-1]

```ts
'linear'
```

#### Inherited from [#inherited-from-1]

[`Live2DTextureSourceOptions`](/jsdoc/pixi-vn-live2d/core/interfaces/Live2DTextureSourceOptions).[`lodFilter`](/jsdoc/pixi-vn-live2d/core/interfaces/Live2DTextureSourceOptions#lodfilter)

***

### lodMaxLevel? [#lodmaxlevel]

\> `optional` &#x2A;*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 [#default-2]

```ts
undefined
```

#### Inherited from [#inherited-from-2]

[`Live2DTextureSourceOptions`](/jsdoc/pixi-vn-live2d/core/interfaces/Live2DTextureSourceOptions).[`lodMaxLevel`](/jsdoc/pixi-vn-live2d/core/interfaces/Live2DTextureSourceOptions#lodmaxlevel)

***

### lodScaleThreshold? [#lodscalethreshold]

\> `optional` &#x2A;*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 [#default-3]

```ts
0.5
```

#### Inherited from [#inherited-from-3]

[`Live2DTextureSourceOptions`](/jsdoc/pixi-vn-live2d/core/interfaces/Live2DTextureSourceOptions).[`lodScaleThreshold`](/jsdoc/pixi-vn-live2d/core/interfaces/Live2DTextureSourceOptions#lodscalethreshold)

***

### lodTextureSizeThreshold? [#lodtexturesizethreshold]

\> `optional` &#x2A;*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 [#default-4]

```ts
4096
```

#### Inherited from [#inherited-from-4]

[`Live2DTextureSourceOptions`](/jsdoc/pixi-vn-live2d/core/interfaces/Live2DTextureSourceOptions).[`lodTextureSizeThreshold`](/jsdoc/pixi-vn-live2d/core/interfaces/Live2DTextureSourceOptions#lodtexturesizethreshold)

***

### preferCreateImageBitmap? [#prefercreateimagebitmap]

\> `optional` &#x2A;*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 [#default-5]

```ts
undefined
```

#### Inherited from [#inherited-from-5]

[`Live2DTextureSourceOptions`](/jsdoc/pixi-vn-live2d/core/interfaces/Live2DTextureSourceOptions).[`preferCreateImageBitmap`](/jsdoc/pixi-vn-live2d/core/interfaces/Live2DTextureSourceOptions#prefercreateimagebitmap)
