SearchType
Describe how to use the path in ResourcePathsBaseAttribute.
Read time 1 minuteLast updated 4 days ago
Definition
- Type: Enum
- Namespace: UnityEngine.Rendering
- Assembly: UnityEngine.CoreModule
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 | Used to search in the builtin extra resources provided with the editor. |
| BuiltinPath | Used to search in the builtin resources provided with the editor. |
| ProjectPath | Used for resources inside the project (e.g.: in user project or in packages). |
| ShaderName | Used for shader that should be found by their name. |