Class HDRenderPipelineAsset
High Definition Render Pipeline asset.
Inheritance
Inherited Members
Namespace: UnityEngine.Rendering.HighDefinition
Syntax
public class HDRenderPipelineAsset : RenderPipelineAsset<HDRenderPipeline>, IVirtualTexturingEnabledRenderPipeline, IProbeVolumeEnabledRenderPipeline, IVersionable<HDRenderPipelineAsset.Version>, IMigratableAsset
Fields
availableMaterialQualityLevels
Available material quality levels for this asset.
Declaration
[FormerlySerializedAs("materialQualityLevels")]
public MaterialQuality availableMaterialQualityLevels
Field Value
| Type | Description |
|---|---|
| MaterialQuality |
Properties
currentPlatformRenderPipelineSettings
Settings currently used by HDRP. Note that setting this property has a significant cost as it will cause the whole pipeline to be rebuilt from scratch.
Declaration
public RenderPipelineSettings currentPlatformRenderPipelineSettings { get; set; }
Property Value
| Type | Description |
|---|---|
| RenderPipelineSettings |
decalLayerNames
Names used for display of decal layers.
Declaration
[Obsolete("Use renderingLayerNames")]
public string[] decalLayerNames { get; }
Property Value
| Type | Description |
|---|---|
| String[] |
defaultMaterialQualityLevel
Default material quality level for this asset.
Declaration
public MaterialQuality defaultMaterialQualityLevel { get; }
Property Value
| Type | Description |
|---|---|
| MaterialQuality |
defaultShader
HDRP default shader.
Declaration
public override Shader defaultShader { get; }
Property Value
| Type | Description |
|---|---|
| Shader |
Overrides
lightLayerNames
Names used for display of light layers.
Declaration
[Obsolete("Use renderingLayerNames")]
public string[] lightLayerNames { get; }
Property Value
| Type | Description |
|---|---|
| String[] |
maxSHBands
Indicates the maximum number of SH Bands used by this render pipeline instance.
Declaration
public ProbeVolumeSHBands maxSHBands { get; }
Property Value
| Type | Description |
|---|---|
| ProbeVolumeSHBands |
Implements
prefixedRenderingLayerMaskNames
Names used for display of rendering layer masks with a prefix.
Declaration
public override string[] prefixedRenderingLayerMaskNames { get; }
Property Value
| Type | Description |
|---|---|
| String[] |
Overrides
probeVolumeSceneData
Returns the projects global ProbeVolumeSceneData instance.
Declaration
public ProbeVolumeSceneData probeVolumeSceneData { get; }
Property Value
| Type | Description |
|---|---|
| ProbeVolumeSceneData |
Implements
renderingLayerMaskNames
Names used for display of rendering layer masks.
Declaration
public override string[] renderingLayerMaskNames { get; }
Property Value
| Type | Description |
|---|---|
| String[] |
Overrides
renderingLayerNames
Names used for display of light layers.
Declaration
public string[] renderingLayerNames { get; }
Property Value
| Type | Description |
|---|---|
| String[] |
virtualTexturingEnabled
Indicates if virtual texturing is currently enabled for this render pipeline instance.
Declaration
public bool virtualTexturingEnabled { get; }
Property Value
| Type | Description |
|---|---|
| Boolean |
Implements
volumeProfile
A volume profile that can be used to override global default volume profile values. This provides a way e.g. to have different volume default values per quality level without having to place global volumes in scenes.
Declaration
public VolumeProfile volumeProfile { get; set; }
Property Value
| Type | Description |
|---|---|
| VolumeProfile |
Methods
CreatePipeline()
CreatePipeline implementation.
Declaration
protected override RenderPipeline CreatePipeline()
Returns
| Type | Description |
|---|---|
| RenderPipeline | A new HDRenderPipeline instance. |
Overrides
EnsureGlobalSettings()
Ensures Global Settings are ready and registered into GraphicsSettings
Declaration
protected override void EnsureGlobalSettings()
Overrides
OnValidate()
OnValidate implementation.
Declaration
protected override void OnValidate()
Overrides
Explicit Interface Implementations
IVersionable<HDRenderPipelineAsset.Version>.version
Declaration
HDRenderPipelineAsset.Version IVersionable<HDRenderPipelineAsset.Version>.version { get; set; }
Returns
| Type | Description |
|---|---|
| UnityEngine.Rendering.HighDefinition.HDRenderPipelineAsset.Version |