Class HDRenderPipeline | High Definition RP | 6.7.1-preview
docs.unity.cn
    Show / Hide Table of Contents

    Class HDRenderPipeline

    Inheritance
    Object
    HDRenderPipeline
    Namespace: UnityEngine.Experimental.Rendering.HDPipeline
    Syntax
    public class HDRenderPipeline : IDataProvider, RenderPipeline

    Constructors

    HDRenderPipeline(HDRenderPipelineAsset)

    Declaration
    public HDRenderPipeline(HDRenderPipelineAsset asset)
    Parameters
    Type Name Description
    HDRenderPipelineAsset asset

    Fields

    frameSettingsHistoryEnabled

    Declaration
    public bool frameSettingsHistoryEnabled
    Field Value
    Type Description
    Boolean

    k_ShaderTagName

    Declaration
    public const string k_ShaderTagName = "HDRenderPipeline"
    Field Value
    Type Description
    String

    Properties

    asset

    Declaration
    public HDRenderPipelineAsset asset { get; }
    Property Value
    Type Description
    HDRenderPipelineAsset

    currentPlatformRenderPipelineSettings

    Declaration
    public RenderPipelineSettings currentPlatformRenderPipelineSettings { get; }
    Property Value
    Type Description
    RenderPipelineSettings

    debugDisplaySettings

    Declaration
    public DebugDisplaySettings debugDisplaySettings { get; }
    Property Value
    Type Description
    DebugDisplaySettings

    showCascade

    Declaration
    public bool showCascade { get; set; }
    Property Value
    Type Description
    Boolean

    Methods

    ApplyDebugDisplaySettings(HDCamera, CommandBuffer)

    Declaration
    public void ApplyDebugDisplaySettings(HDCamera hdCamera, CommandBuffer cmd)
    Parameters
    Type Name Description
    HDCamera hdCamera
    CommandBuffer cmd

    ConfigureKeywords(Boolean, HDCamera, CommandBuffer)

    Declaration
    public void ConfigureKeywords(bool enableBakeShadowMask, HDCamera hdCamera, CommandBuffer cmd)
    Parameters
    Type Name Description
    Boolean enableBakeShadowMask
    HDCamera hdCamera
    CommandBuffer cmd

    CreateOpaqueRendererList(CullingResults, Camera, ShaderTagId, PerObjectData, Nullable<RenderQueueRange>, Nullable<RenderStateBlock>, Material, Boolean)

    Declaration
    protected static RendererList CreateOpaqueRendererList(CullingResults cull, Camera camera, ShaderTagId passName, PerObjectData rendererConfiguration = null, RenderQueueRange? renderQueueRange = default(RenderQueueRange? ), RenderStateBlock? stateBlock = default(RenderStateBlock? ), Material overrideMaterial = null, bool excludeObjectMotionVectors = false)
    Parameters
    Type Name Description
    CullingResults cull
    Camera camera
    ShaderTagId passName
    PerObjectData rendererConfiguration
    Nullable<RenderQueueRange> renderQueueRange
    Nullable<RenderStateBlock> stateBlock
    Material overrideMaterial
    Boolean excludeObjectMotionVectors
    Returns
    Type Description
    RendererList

    CreateOpaqueRendererList(CullingResults, Camera, ShaderTagId[], PerObjectData, Nullable<RenderQueueRange>, Nullable<RenderStateBlock>, Material, Boolean)

    Declaration
    protected static RendererList CreateOpaqueRendererList(CullingResults cull, Camera camera, ShaderTagId[] passNames, PerObjectData rendererConfiguration = null, RenderQueueRange? renderQueueRange = default(RenderQueueRange? ), RenderStateBlock? stateBlock = default(RenderStateBlock? ), Material overrideMaterial = null, bool excludeObjectMotionVectors = false)
    Parameters
    Type Name Description
    CullingResults cull
    Camera camera
    ShaderTagId[] passNames
    PerObjectData rendererConfiguration
    Nullable<RenderQueueRange> renderQueueRange
    Nullable<RenderStateBlock> stateBlock
    Material overrideMaterial
    Boolean excludeObjectMotionVectors
    Returns
    Type Description
    RendererList

    CreateTransparentRendererList(CullingResults, Camera, ShaderTagId, PerObjectData, Nullable<RenderQueueRange>, Nullable<RenderStateBlock>, Material, Boolean)

    Declaration
    protected static RendererList CreateTransparentRendererList(CullingResults cull, Camera camera, ShaderTagId passName, PerObjectData rendererConfiguration = null, RenderQueueRange? renderQueueRange = default(RenderQueueRange? ), RenderStateBlock? stateBlock = default(RenderStateBlock? ), Material overrideMaterial = null, bool excludeObjectMotionVectors = false)
    Parameters
    Type Name Description
    CullingResults cull
    Camera camera
    ShaderTagId passName
    PerObjectData rendererConfiguration
    Nullable<RenderQueueRange> renderQueueRange
    Nullable<RenderStateBlock> stateBlock
    Material overrideMaterial
    Boolean excludeObjectMotionVectors
    Returns
    Type Description
    RendererList

    CreateTransparentRendererList(CullingResults, Camera, ShaderTagId[], PerObjectData, Nullable<RenderQueueRange>, Nullable<RenderStateBlock>, Material, Boolean)

    Declaration
    protected static RendererList CreateTransparentRendererList(CullingResults cull, Camera camera, ShaderTagId[] passNames, PerObjectData rendererConfiguration = null, RenderQueueRange? renderQueueRange = default(RenderQueueRange? ), RenderStateBlock? stateBlock = default(RenderStateBlock? ), Material overrideMaterial = null, bool excludeObjectMotionVectors = false)
    Parameters
    Type Name Description
    CullingResults cull
    Camera camera
    ShaderTagId[] passNames
    PerObjectData rendererConfiguration
    Nullable<RenderQueueRange> renderQueueRange
    Nullable<RenderStateBlock> stateBlock
    Material overrideMaterial
    Boolean excludeObjectMotionVectors
    Returns
    Type Description
    RendererList

    Dispose(Boolean)

    Declaration
    protected override void Dispose(bool disposing)
    Parameters
    Type Name Description
    Boolean disposing

    DrawOpaqueRendererList(ScriptableRenderContext, CommandBuffer, FrameSettings, RendererList)

    Declaration
    protected static void DrawOpaqueRendererList(in ScriptableRenderContext renderContext, CommandBuffer cmd, in FrameSettings frameSettings, RendererList rendererList)
    Parameters
    Type Name Description
    ScriptableRenderContext renderContext
    CommandBuffer cmd
    FrameSettings frameSettings
    RendererList rendererList

    DrawTransparentRendererList(ScriptableRenderContext, CommandBuffer, FrameSettings, RendererList)

    Declaration
    protected static void DrawTransparentRendererList(in ScriptableRenderContext renderContext, CommandBuffer cmd, in FrameSettings frameSettings, RendererList rendererList)
    Parameters
    Type Name Description
    ScriptableRenderContext renderContext
    CommandBuffer cmd
    FrameSettings frameSettings
    RendererList rendererList

    ExportSkyToTexture()

    Declaration
    public Texture2D ExportSkyToTexture()
    Returns
    Type Description
    Texture2D

    GetBlitMaterial(Boolean)

    Declaration
    public Material GetBlitMaterial(bool useTexArray)
    Parameters
    Type Name Description
    Boolean useTexArray
    Returns
    Type Description
    Material

    GetColorBufferFormat()

    Declaration
    public GraphicsFormat GetColorBufferFormat()
    Returns
    Type Description
    GraphicsFormat

    GetCurrentShadowCount()

    Declaration
    public int GetCurrentShadowCount()
    Returns
    Type Description
    Int32

    GetDecalAtlasMipCount()

    Declaration
    public int GetDecalAtlasMipCount()
    Returns
    Type Description
    Int32

    PushColorPickerDebugTexture(CommandBuffer, HDCamera, RTHandleSystem.RTHandle)

    Declaration
    public void PushColorPickerDebugTexture(CommandBuffer cmd, HDCamera hdCamera, RTHandleSystem.RTHandle textureID)
    Parameters
    Type Name Description
    CommandBuffer cmd
    HDCamera hdCamera
    RTHandleSystem.RTHandle textureID

    PushFullScreenDebugTexture(HDCamera, CommandBuffer, RTHandleSystem.RTHandle, FullScreenDebugMode)

    Declaration
    public void PushFullScreenDebugTexture(HDCamera hdCamera, CommandBuffer cmd, RTHandleSystem.RTHandle textureID, FullScreenDebugMode debugMode)
    Parameters
    Type Name Description
    HDCamera hdCamera
    CommandBuffer cmd
    RTHandleSystem.RTHandle textureID
    FullScreenDebugMode debugMode

    PushFullScreenLightingDebugTexture(HDCamera, CommandBuffer, RTHandleSystem.RTHandle)

    Declaration
    public void PushFullScreenLightingDebugTexture(HDCamera hdCamera, CommandBuffer cmd, RTHandleSystem.RTHandle textureID)
    Parameters
    Type Name Description
    HDCamera hdCamera
    CommandBuffer cmd
    RTHandleSystem.RTHandle textureID

    PushGlobalParams(HDCamera, CommandBuffer)

    Declaration
    public void PushGlobalParams(HDCamera hdCamera, CommandBuffer cmd)
    Parameters
    Type Name Description
    HDCamera hdCamera
    CommandBuffer cmd

    Render(ScriptableRenderContext, Camera[])

    Declaration
    protected override void Render(ScriptableRenderContext renderContext, Camera[] cameras)
    Parameters
    Type Name Description
    ScriptableRenderContext renderContext
    Camera[] cameras

    RequestSkyEnvironmentUpdate()

    Declaration
    public void RequestSkyEnvironmentUpdate()

    SetMicroShadowingSettings(CommandBuffer)

    Declaration
    public void SetMicroShadowingSettings(CommandBuffer cmd)
    Parameters
    Type Name Description
    CommandBuffer cmd
    Back to top Copyright © 2020 Unity Technologies
    Generated by DocFX