# Sandbox.Texture.Load

## Overload 1

```csharp
static Texture Load(BaseFileSystem filesystem, string filepath, bool warnOnMissing = True)
```

> **Obsolete.** Use Texture.Load or Texture.LoadFromFileSystem

Try to load a texture from given filesystem, by filename.

### Parameters

- `filesystem` (`BaseFileSystem`)
- `filepath` (`string`)
- `warnOnMissing` (`bool`), default `True`

### Returns

`Texture`

## Overload 2

```csharp
static Texture Load(string path_or_url, bool warnOnMissing = True)
```

Try to load a texture.

### Parameters

- `path_or_url` (`string`)
- `warnOnMissing` (`bool`), default `True`

### Returns

`Texture`

Declared in [Sandbox.Texture](/api/Sandbox.Texture).
Assembly: `Sandbox.Engine`.
