# Interface: ResolvedSrc (/pixi-vn/index/interfaces/ResolvedSrc)



Defined in: node_modules/pixi.js/lib/assets/types.d.ts:117

A fully resolved src specification after pattern resolution and format detection.
Unlike raw asset sources, this type represents the final, concrete source path and format.

## Example [#example]

```ts
// Basic resolved source
const src: ResolvedSrc = {
    src: 'images/sprite.png',
    format: 'png'
};

// With resolution and format preferences
const src: ResolvedSrc = {
    src: 'images/sprite@2x.webp',
    format: 'webp',
    data: { resolution: 2 }
};

// With specific loader
const src: ResolvedSrc = {
    src: 'data/config.txt',
    format: 'txt',
    parser: 'text',
};
```

## Remarks [#remarks]

* Pattern strings like `{png,webp}` are resolved to specific formats
* Resolution and format are determined based on browser support
* Used internally by the Assets system after resolution
* Data property can contain format-specific options

## See [#see]

* [AssetSrc](/pixi-vn/index/type-aliases/AssetSrc) For unresolved source format
* [ResolvedAsset](/pixi-vn/index/interfaces/ResolvedAsset) For complete resolved asset specification

## Advanced [#advanced]

## Properties [#properties]

### data? [#data]

\> `optional` **data?**: `any`

Defined in: node_modules/pixi.js/lib/assets/types.d.ts:65

Optional data passed to the asset loader.
Can include texture settings, parser options, or other asset-specific data.

***

### format? [#format]

\> `optional` **format?**: `string`

Defined in: node_modules/pixi.js/lib/assets/types.d.ts:67

File format of the asset, usually the file extension. Used to determine which loader parser to use.

***

### ~~loadParser?~~ [#loadparser]

\> `optional` **loadParser?**: [`LoadParserName`](/pixi-vn/index/type-aliases/LoadParserName)

Defined in: node_modules/pixi.js/lib/assets/types.d.ts:71

#### Deprecated [#deprecated]

Use `parser` instead.

***

### parser? [#parser]

\> `optional` **parser?**: `AssetParser`

Defined in: node_modules/pixi.js/lib/assets/types.d.ts:73

Override to specify which parser should load this asset. Useful when file extensions don't match the content type.

***

### src? [#src]

\> `optional` **src?**: `string`

Defined in: node_modules/pixi.js/lib/assets/types.d.ts:60

The URL or relative path to the asset. This is the final, resolved path that will be used for loading.
