# Sandbox.Mounting.MountUtility.GetPreviewTexture

## Overload 1

```csharp
static Texture GetPreviewTexture(string loaderPath)
```

Create a preview texture for the given resource loader.

### Parameters

- `loaderPath` (`string`)

### Returns

`Texture`

## Overload 2

```csharp
static Texture GetPreviewTexture(Sandbox.Mounting.ResourceLoader loader)
```

Create a preview texture for the given resource loader.

### Parameters

- `loader` (`Sandbox.Mounting.ResourceLoader`)

### Returns

`Texture`

Declared in [Sandbox.Mounting.MountUtility](/api/Sandbox.Mounting.MountUtility).
Assembly: `Sandbox.Engine`.
