Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


RenderPipelineAsset

An asset that produces a specific IRenderPipeline.
Read time 5 minutesLast updated 2 days ago

Definition

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

autodeskInteractiveMaskedShaderRetrieves the default Autodesk Interactive masked Shader for this pipeline.
autodeskInteractiveShaderRetrieves the default Autodesk Interactive Shader for this pipeline.
autodeskInteractiveTransparentShaderRetrieves the default Autodesk Interactive transparent Shader for this pipeline.
default2DMaskMaterialGets the default 2D Mask Material used by Sprite Masks in Universal Render Pipeline.
default2DMaterialReturn the default 2D Material for this pipeline.
defaultLineMaterialReturn the default Line Material for this pipeline.
defaultMaterialReturn the default Material for this pipeline.
defaultParticleMaterialReturn the default particle Material for this pipeline.
defaultShaderReturn the default Shader for this pipeline.
defaultSpeedTree7ShaderReturn the default SpeedTree v7 Shader for this pipeline.
defaultSpeedTree8ShaderReturn the default SpeedTree v8 Shader for this pipeline.
defaultSpeedTree9ShaderReturn the default SpeedTree v9 Shader for this pipeline.
defaultTerrainMaterialReturn the default Terrain Material for this pipeline.
defaultUIETC1SupportedMaterialReturn the default UI ETC1 Material for this pipeline.
defaultUIMaterialReturn the default UI Material for this pipeline.
defaultUIOverdrawMaterialReturn the default UI overdraw Material for this pipeline.
pipelineTypeReturns a RenderPipeline type associated with the given RenderPipelineAsset instance.
renderPipelineShaderTagReturns the Shader Tag value for the render pipeline that is described by this asset.
requiresCompatibleRenderPipelineGlobalSettingsControls whether Unity validates that a compatible RenderPipelineGlobalSettings asset is active when this Render Pipeline Asset gets assigned.
terrainBrushPassIndexThe render index for the terrain brush in the editor.
terrainDetailGrassBillboardShaderReturn the detail grass billboard Shader for this pipeline.
terrainDetailGrassShaderReturn the detail grass Shader for this pipeline.
terrainDetailLitShaderReturn the detail lit Shader for this pipeline.

Methods

Method

Description

CreatePipelineCreate a IRenderPipeline specific to this asset.
EnsureGlobalSettingsEnsures Global Settings are ready and registered into GraphicsSettings.
OnDisableDefault implementation of OnDisable for RenderPipelineAsset. See ScriptableObject.OnDisable()
OnValidateDefault implementation of OnValidate for RenderPipelineAsset. See MonoBehaviour.OnValidate()

Inheritance

Inherited Members

Operators

Operator

Description

operator ==Compares two object references to see if they refer to the same object.
boolDetermines whether the object exists.
operator !=Compares if two objects refer to a different object.