RenderPipelineAsset
An asset that produces a specific IRenderPipeline.
Read time 5 minutesLast updated 2 days ago
Definition
- Type: Class
- Namespace: UnityEngine.Rendering
- Assembly: UnityEngine.CoreModule
- Inherits from: ScriptableObject
public abstract class RenderPipelineAsset : ScriptableObject
Remarks
Default implementation of IRenderPipelineAsset. This manages the lifecylces of inherited types, as well as ensures that created IRenderPipeline's are invalidated when the asset is changed.
Additional Resources: IRenderPipelineAsset.
Properties
Property | Description |
|---|---|
| autodeskInteractiveMaskedShader | Retrieves the default Autodesk Interactive masked Shader for this pipeline. |
| autodeskInteractiveShader | Retrieves the default Autodesk Interactive Shader for this pipeline. |
| autodeskInteractiveTransparentShader | Retrieves the default Autodesk Interactive transparent Shader for this pipeline. |
| default2DMaskMaterial | Gets the default 2D Mask Material used by Sprite Masks in Universal Render Pipeline. |
| default2DMaterial | Return the default 2D Material for this pipeline. |
| defaultLineMaterial | Return the default Line Material for this pipeline. |
| defaultMaterial | Return the default Material for this pipeline. |
| defaultParticleMaterial | Return the default particle Material for this pipeline. |
| defaultShader | Return the default Shader for this pipeline. |
| defaultSpeedTree7Shader | Return the default SpeedTree v7 Shader for this pipeline. |
| defaultSpeedTree8Shader | Return the default SpeedTree v8 Shader for this pipeline. |
| defaultSpeedTree9Shader | Return the default SpeedTree v9 Shader for this pipeline. |
| defaultTerrainMaterial | Return the default Terrain Material for this pipeline. |
| defaultUIETC1SupportedMaterial | Return the default UI ETC1 Material for this pipeline. |
| defaultUIMaterial | Return the default UI Material for this pipeline. |
| defaultUIOverdrawMaterial | Return the default UI overdraw Material for this pipeline. |
| pipelineType | Returns a RenderPipeline type associated with the given RenderPipelineAsset instance. |
| renderPipelineShaderTag | Returns the Shader Tag value for the render pipeline that is described by this asset. |
| requiresCompatibleRenderPipelineGlobalSettings | Controls whether Unity validates that a compatible RenderPipelineGlobalSettings asset is active when this Render Pipeline Asset gets assigned. |
| terrainBrushPassIndex | The render index for the terrain brush in the editor. |
| terrainDetailGrassBillboardShader | Return the detail grass billboard Shader for this pipeline. |
| terrainDetailGrassShader | Return the detail grass Shader for this pipeline. |
| terrainDetailLitShader | Return the detail lit Shader for this pipeline. |
Methods
Method | Description |
|---|---|
| CreatePipeline | Create a IRenderPipeline specific to this asset. |
| EnsureGlobalSettings | Ensures Global Settings are ready and registered into GraphicsSettings. |
| OnDisable | Default implementation of OnDisable for RenderPipelineAsset. See ScriptableObject.OnDisable() |
| OnValidate | Default implementation of OnValidate for RenderPipelineAsset. See MonoBehaviour.OnValidate() |
Inheritance
Operators
Operator | Description |
|---|---|
| operator == | Compares two object references to see if they refer to the same object. |
| bool | Determines whether the object exists. |
| operator != | Compares if two objects refer to a different object. |