# Load Texture From File

<div align="left"><figure><img src="/files/XSNXQEd9LoWeMKOwJAcR" alt=""><figcaption></figcaption></figure></div>

```
/**
 * Node that loads a texture from an external image file.
 * 
 * Imports texture data from disk files (PNG, JPG, TGA, etc.)
 * with configurable compression and color space settings.
 * 
 * Usage:
 * 1. Browse to select an image file
 * 2. Configure texture settings
 * 3. Output provides the loaded texture
 */
```

| Parameter                                            | Description                                          |
| ---------------------------------------------------- | ---------------------------------------------------- |
| <p>File</p><p><code>FilePath</code> </p>             | Texture asset to load                                |
| <p>Texture Name Suffix</p><p><code>string</code></p> | The resolution of the preview box                    |
| <p>Compression Type</p><p><code>enum</code></p>      | The compression type to be used when loading texture |
| <p>sRGB</p><p><code>boolean</code></p>               | Wether to enable sRGB                                |
| <p>Preview Size</p><p><code>integer</code></p>       | The resolution of the preview box                    |


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.meshmorpher.com/graph/texture/load-texture-from-file.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
