Class HDRenderPipelineAsset
High Definition Render Pipeline asset.
Inheritance
Implements
Inherited Members
Namespace: UnityEngine.Rendering.HighDefinition
Assembly: Unity.RenderPipelines.HighDefinition.Runtime.dll
Syntax
public class HDRenderPipelineAsset : RenderPipelineAsset<HDRenderPipeline>, IVirtualTexturingEnabledRenderPipeline, IProbeVolumeEnabledRenderPipeline, IVersionable<HDRenderPipelineAsset.Version>
Fields
availableMaterialQualityLevels
Available material quality levels for this asset.
Declaration
[FormerlySerializedAs("materialQualityLevels")]
public MaterialQuality availableMaterialQualityLevels
Field Value
Type | Description |
---|---|
MaterialQuality |
Properties
autodeskInteractiveMaskedShader
HDRP default autodesk interactive masked shader.
Declaration
public override Shader autodeskInteractiveMaskedShader { get; }
Property Value
Type | Description |
---|---|
Shader |
Overrides
autodeskInteractiveShader
HDRP default autodesk interactive shader.
Declaration
public override Shader autodeskInteractiveShader { get; }
Property Value
Type | Description |
---|---|
Shader |
Overrides
autodeskInteractiveTransparentShader
HDRP default autodesk interactive transparent shader.
Declaration
public override Shader autodeskInteractiveTransparentShader { get; }
Property Value
Type | Description |
---|---|
Shader |
Overrides
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[] |
defaultMaterial
HDRP default material.
Declaration
public override Material defaultMaterial { get; }
Property Value
Type | Description |
---|---|
Material |
Overrides
defaultMaterialQualityLevel
Default material quality level for this asset.
Declaration
public MaterialQuality defaultMaterialQualityLevel { get; }
Property Value
Type | Description |
---|---|
MaterialQuality |
defaultParticleMaterial
HDRP default particles material.
Declaration
public override Material defaultParticleMaterial { get; }
Property Value
Type | Description |
---|---|
Material |
Overrides
defaultShader
HDRP default shader.
Declaration
public override Shader defaultShader { get; }
Property Value
Type | Description |
---|---|
Shader |
Overrides
defaultSpeedTree8Shader
Declaration
public override Shader defaultSpeedTree8Shader { get; }
Property Value
Type | Description |
---|---|
Shader |
Overrides
defaultTerrainMaterial
HDRP default terrain material.
Declaration
public override Material defaultTerrainMaterial { get; }
Property Value
Type | Description |
---|---|
Material |
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 |
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 |
renderPipelineShaderTag
Declaration
public override string renderPipelineShaderTag { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
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[] |
terrainDetailGrassBillboardShader
HDRP default terrain detail grass billboard shader.
Declaration
public override Shader terrainDetailGrassBillboardShader { get; }
Property Value
Type | Description |
---|---|
Shader |
Overrides
terrainDetailGrassShader
HDRP default terrain detail grass shader.
Declaration
public override Shader terrainDetailGrassShader { get; }
Property Value
Type | Description |
---|---|
Shader |
Overrides
terrainDetailLitShader
HDRP default terrain detail lit shader.
Declaration
public override Shader terrainDetailLitShader { get; }
Property Value
Type | Description |
---|---|
Shader |
Overrides
virtualTexturingEnabled
Indicates if virtual texturing is currently enabled for this render pipeline instance.
Declaration
public bool virtualTexturingEnabled { get; }
Property Value
Type | Description |
---|---|
bool |
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
GetDefaultDecalMaterial()
HDRP default Decal material.
Declaration
public Material GetDefaultDecalMaterial()
Returns
Type | Description |
---|---|
Material |
GetDefaultMirrorMaterial()
HDRP default mirror material.
Declaration
public Material GetDefaultMirrorMaterial()
Returns
Type | Description |
---|---|
Material |
OnValidate()
OnValidate implementation.
Declaration
protected override void OnValidate()