ResourcePathsBaseAttribute
This abstract attribute is used to describe what path to the asset should be used.
Read time 3 minutesLast updated 5 days ago
Definition
- Type: Class
- Namespace: UnityEngine.Rendering
- Assembly: UnityEngine.CoreModule
- Inherits from: Attribute
[AttributeUsage(AttributeTargets.Field, Inherited = true)]public abstract class ResourcePathsBaseAttribute : Attribute
Remarks
This is used in class implementing IRenderPipelineResources. It only keep given data in its constructor in Editor context. At runtime, no memory is used.
Properties
Property | Description |
|---|---|
| isField | Disambiguish array of 1 element and fields. As we don't store it at runtime, you cannot rely on this property for runtime operation. |
| location | The lookup method. As we don't store it at runtime, you cannot rely on this property for runtime operation. |
| paths | Search paths. As we don't store it at runtime, you cannot rely on this property for runtime operation. |