# SearchType

> Describe how to use the path in ResourcePathsBaseAttribute.

## Definition

* **Type:** Enum
* **Namespace:** [UnityEngine.Rendering](/engine/6000.7/script-reference/unityengine/rendering.md)
* **Assembly:** UnityEngine.CoreModule

```csharp
public enum SearchType
```

## Remarks

What is the loading method to use? It may vary regarding the resource location. There is also an extra way to find shader by their internal name.

## Fields

| Value                                                                                                    | Description                                                                   |
| -------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------- |
| [BuiltinExtraPath](/engine/6000.7/script-reference/unityengine/rendering/searchtype/builtinextrapath.md) | Used to search in the builtin extra resources provided with the editor.       |
| [BuiltinPath](/engine/6000.7/script-reference/unityengine/rendering/searchtype/builtinpath.md)           | Used to search in the builtin resources provided with the editor.             |
| [ProjectPath](/engine/6000.7/script-reference/unityengine/rendering/searchtype/projectpath.md)           | Used for resources inside the project (e.g.: in user project or in packages). |
| [ShaderName](/engine/6000.7/script-reference/unityengine/rendering/searchtype/shadername.md)             | Used for shader that should be found by their name.                           |
