RenderPipelineAsset
class in UnityEngine.Rendering
/
Inherits from:ScriptableObject
/
Implemented in:UnityEngine.CoreModule
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.
See Also: IRenderPipelineAsset.
Properties 属性
| 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. | ||
| 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. | ||
| 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. | ||
| renderingLayerMaskNames | Returns the list of names used to display Rendering Layer Mask UI for this pipeline. | ||
| 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. |
Protected Methods
| CreatePipeline | Create a IRenderPipeline specific to this asset. | ||
| OnDisable | Default implementation of OnDisable for RenderPipelineAsset. See ScriptableObject.OnDisable | ||
| OnValidate | Default implementation of OnValidate for RenderPipelineAsset. See MonoBehaviour.OnValidate |
Inherited Members 继承成员
Properties 属性
| hideFlags | Should the object be hidden, saved with the Scene or modifiable by the user? | ||
| name | The name of the object. |
Public Methods 公共方法
| GetInstanceID | Returns the instance id of the object. | ||
| ToString | Returns the name of the object. |
Static Methods 静态方法
| Destroy | Removes a GameObject, component or asset. | ||
| DestroyImmediate | Destroys the object obj immediately. You are strongly recommended to use Destroy instead. | ||
| DontDestroyOnLoad | Do not destroy the target Object when loading a new Scene. | ||
| FindObjectOfType | Returns the first active loaded object of Type type. | ||
| FindObjectsOfType | Returns a list of all active loaded objects of Type type. | ||
| Instantiate | Clones the object original and returns the clone. | ||
| CreateInstance | Creates an instance of a scriptable object. |
Operators 运算符
| bool | Does 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. |