Version: 2023.2
LanguageEnglish
  • C#

RenderPipelineAsset<T0>

class in UnityEngine.Rendering

/

Inherits from:Rendering.RenderPipelineAsset

/

Implemented in:UnityEngine.CoreModule

Suggest a change

Success!

Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.

Close

Submission failed

For some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.

Close

Cancel

Description

An asset that produces a specific IRenderPipeline.

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

pipelineTypeReturns a RenderPipeline type associated with the given RenderPipelineAsset instance.

Inherited Members

Properties

hideFlagsShould the object be hidden, saved with the Scene or modifiable by the user?
nameThe name of the object.
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.
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.
prefixedRenderingLayerMaskNamesReturns the names of the Rendering Layer Masks for this pipeline, with each name prefixed by a unique numerical ID.
renderingLayerMaskNamesReturns the names of the Rendering Layer Masks for this pipeline.
renderPipelineShaderTagReturns the Shader Tag value for the render pipeline that is described by this asset.
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.

Public Methods

GetInstanceIDGets the instance ID of the object.
ToStringReturns the name of the object.

Protected Methods

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

Static Methods

DestroyRemoves a GameObject, component or asset.
DestroyImmediateDestroys the object obj immediately. You are strongly recommended to use Destroy instead.
DontDestroyOnLoadDo not destroy the target Object when loading a new Scene.
FindAnyObjectByTypeRetrieves any active loaded object of Type type.
FindFirstObjectByTypeRetrieves the first active loaded object of Type type.
FindObjectsByTypeRetrieves a list of all loaded objects of Type type.
InstantiateClones the object original and returns the clone.
CreateInstanceCreates an instance of a scriptable object.

Operators

boolDoes the object exist?
operator !=Compares if two objects refer to a different object.
operator ==Compares two object references to see if they refer to the same object.

Messages

AwakeCalled when an instance of ScriptableObject is created.
OnDestroyThis function is called when the scriptable object will be destroyed.
OnDisableThis function is called when the scriptable object goes out of scope.
OnEnableThis function is called when the object is loaded.
OnValidateEditor-only function that Unity calls when the script is loaded or a value changes in the Inspector.
ResetReset to default values.