Class SharedRTManager | High Definition RP | 6.7.1-preview
docs.unity3d.com
    Show / Hide Table of Contents

    Class SharedRTManager

    Inheritance
    Object
    SharedRTManager
    Namespace: UnityEngine.Experimental.Rendering.HDPipeline
    Syntax
    public class SharedRTManager

    Constructors

    SharedRTManager()

    Declaration
    public SharedRTManager()

    Fields

    m_RTIDs1

    Declaration
    protected RenderTargetIdentifier[] m_RTIDs1
    Field Value
    Type Description
    RenderTargetIdentifier[]

    m_RTIDs2

    Declaration
    protected RenderTargetIdentifier[] m_RTIDs2
    Field Value
    Type Description
    RenderTargetIdentifier[]

    m_RTIDs3

    Declaration
    protected RenderTargetIdentifier[] m_RTIDs3
    Field Value
    Type Description
    RenderTargetIdentifier[]

    Methods

    BindNormalBuffer(CommandBuffer, Boolean)

    Declaration
    public void BindNormalBuffer(CommandBuffer cmd, bool isMSAA = false)
    Parameters
    Type Name Description
    CommandBuffer cmd
    Boolean isMSAA

    Build(HDRenderPipelineAsset)

    Declaration
    public void Build(HDRenderPipelineAsset hdAsset)
    Parameters
    Type Name Description
    HDRenderPipelineAsset hdAsset

    Cleanup()

    Declaration
    public void Cleanup()

    ComputeDepthBufferMipChainSize(Vector2Int)

    Declaration
    public Vector2Int ComputeDepthBufferMipChainSize(Vector2Int screenSize)
    Parameters
    Type Name Description
    Vector2Int screenSize
    Returns
    Type Description
    Vector2Int

    GetDepthBufferMipChainInfo()

    Declaration
    public HDUtils.PackedMipChainInfo GetDepthBufferMipChainInfo()
    Returns
    Type Description
    HDUtils.PackedMipChainInfo

    GetDepthStencilBuffer(Boolean)

    Declaration
    public RTHandleSystem.RTHandle GetDepthStencilBuffer(bool isMSAA = false)
    Parameters
    Type Name Description
    Boolean isMSAA
    Returns
    Type Description
    RTHandleSystem.RTHandle

    GetDepthTexture(Boolean)

    Declaration
    public RTHandleSystem.RTHandle GetDepthTexture(bool isMSAA = false)
    Parameters
    Type Name Description
    Boolean isMSAA
    Returns
    Type Description
    RTHandleSystem.RTHandle

    GetDepthValuesTexture()

    Declaration
    public RTHandleSystem.RTHandle GetDepthValuesTexture()
    Returns
    Type Description
    RTHandleSystem.RTHandle

    GetLowResDepthBuffer()

    Declaration
    public RTHandleSystem.RTHandle GetLowResDepthBuffer()
    Returns
    Type Description
    RTHandleSystem.RTHandle

    GetMotionVectorsBuffer(Boolean)

    Declaration
    public RTHandleSystem.RTHandle GetMotionVectorsBuffer(bool isMSAA = false)
    Parameters
    Type Name Description
    Boolean isMSAA
    Returns
    Type Description
    RTHandleSystem.RTHandle

    GetMotionVectorsPassBuffersRTI(FrameSettings)

    Declaration
    public RenderTargetIdentifier[] GetMotionVectorsPassBuffersRTI(FrameSettings frameSettings)
    Parameters
    Type Name Description
    FrameSettings frameSettings
    Returns
    Type Description
    RenderTargetIdentifier[]

    GetNormalBuffer(Boolean)

    Declaration
    public RTHandleSystem.RTHandle GetNormalBuffer(bool isMSAA = false)
    Parameters
    Type Name Description
    Boolean isMSAA
    Returns
    Type Description
    RTHandleSystem.RTHandle

    GetPrepassBuffersRTI(FrameSettings)

    Declaration
    public RenderTargetIdentifier[] GetPrepassBuffersRTI(FrameSettings frameSettings)
    Parameters
    Type Name Description
    FrameSettings frameSettings
    Returns
    Type Description
    RenderTargetIdentifier[]

    GetStencilBufferCopy()

    Declaration
    public RTHandleSystem.RTHandle GetStencilBufferCopy()
    Returns
    Type Description
    RTHandleSystem.RTHandle

    InitSharedBuffers(GBufferManager, RenderPipelineSettings, RenderPipelineResources)

    Declaration
    public void InitSharedBuffers(GBufferManager gbufferManager, RenderPipelineSettings settings, RenderPipelineResources resources)
    Parameters
    Type Name Description
    GBufferManager gbufferManager
    RenderPipelineSettings settings
    RenderPipelineResources resources

    IsConsolePlatform()

    Declaration
    public bool IsConsolePlatform()
    Returns
    Type Description
    Boolean

    ResolveMSAAColor(CommandBuffer, HDCamera, RTHandleSystem.RTHandle, RTHandleSystem.RTHandle)

    Declaration
    public void ResolveMSAAColor(CommandBuffer cmd, HDCamera hdCamera, RTHandleSystem.RTHandle msaaTarget, RTHandleSystem.RTHandle simpleTarget)
    Parameters
    Type Name Description
    CommandBuffer cmd
    HDCamera hdCamera
    RTHandleSystem.RTHandle msaaTarget
    RTHandleSystem.RTHandle simpleTarget

    ResolveSharedRT(CommandBuffer, HDCamera)

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

    SampleCountToPassIndex(MSAASamples)

    Declaration
    public static int SampleCountToPassIndex(MSAASamples samples)
    Parameters
    Type Name Description
    MSAASamples samples
    Returns
    Type Description
    Int32

    SetNumMSAASamples(MSAASamples)

    Declaration
    public void SetNumMSAASamples(MSAASamples msaaSamples)
    Parameters
    Type Name Description
    MSAASamples msaaSamples
    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023