docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class CustomPassUtils

    A set of custom pass utility function to help you build your effects

    Inheritance
    object
    CustomPassUtils
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: UnityEngine.Rendering.HighDefinition
    Assembly: Unity.RenderPipelines.HighDefinition.Runtime.dll
    Syntax
    public static class CustomPassUtils

    Fields

    Name Description
    fullScreenScaleBias

    Fullscreen scale and bias values, it is the default for functions that have scale and bias overloads.

    Methods

    Name Description
    Copy(in CustomPassContext, RTHandle, RTHandle, int, int)

    Copy an RTHandle content to another

    Copy(in CustomPassContext, RTHandle, RTHandle, Vector4, Vector4, int, int)

    Copy a region of an RTHandle to another

    DownSample(in CustomPassContext, RTHandle, RTHandle, int, int)

    Convert the source buffer to an half resolution buffer and output it to the destination buffer.

    DownSample(in CustomPassContext, RTHandle, RTHandle, Vector4, Vector4, int, int)

    Convert the source buffer to an half resolution buffer and output it to the destination buffer.

    DrawRenderers(in CustomPassContext, LayerMask, RenderQueueType, Material, int, RenderStateBlock, SortingCriteria)

    Simpler version of ScriptableRenderContext.DrawRenderers to draw HDRP materials.

    DrawRenderers(in CustomPassContext, ShaderTagId[], LayerMask, RenderQueueType, Material, int, RenderStateBlock, SortingCriteria)

    Simpler version of ScriptableRenderContext.DrawRenderers to draw HDRP materials.

    GaussianBlur(in CustomPassContext, RTHandle, RTHandle, RTHandle, int, float, int, int, bool)

    Gaussian Blur pass.

    GaussianBlur(in CustomPassContext, RTHandle, RTHandle, RTHandle, Vector4, Vector4, int, float, int, int, bool)

    Gaussian Blur pass.

    GetRenderQueueRangeFromRenderQueueType(RenderQueueType)

    Convert a Custom Pass render queue type to a RenderQueueRange that can be used in DrawRenderers

    HorizontalGaussianBlur(in CustomPassContext, RTHandle, RTHandle, int, float, int, int)

    Horizontal gaussian blur pass.

    HorizontalGaussianBlur(in CustomPassContext, RTHandle, RTHandle, Vector4, Vector4, int, float, int, int)

    Horizontal gaussian blur pass.

    RenderDepthFromCamera(in CustomPassContext, Camera, LayerMask, RenderQueueType, RenderStateBlock)

    Render eye space depth of objects from the view point of a camera into the color buffer.

    RenderDepthFromCamera(in CustomPassContext, Camera, RenderTexture, ClearFlag, LayerMask, RenderQueueType, RenderStateBlock)

    Render eye space depth of objects from the view point of a camera into the color and depth buffers.

    RenderDepthFromCamera(in CustomPassContext, Camera, RTHandle, RTHandle, ClearFlag, LayerMask, RenderQueueType, RenderStateBlock)

    Render eye space depth of objects from the view point of a camera into the color and depth buffers.

    RenderFromCamera(in CustomPassContext, Camera, LayerMask, RenderQueueType, Material, int, RenderStateBlock)

    Render a list of objects from another camera point of view.

    RenderFromCamera(in CustomPassContext, Camera, RenderTexture, ClearFlag, LayerMask, RenderQueueType, Material, int, RenderStateBlock)

    Render a list of objects from another camera point of view.

    RenderFromCamera(in CustomPassContext, Camera, RTHandle, RTHandle, ClearFlag, LayerMask, RenderQueueType, Material, int, RenderStateBlock)

    Render a list of objects from another camera point of view.

    RenderNormalFromCamera(in CustomPassContext, Camera, LayerMask, RenderQueueType, RenderStateBlock)

    Render world space normal of objects from the view point of a camera into the color buffer.

    RenderNormalFromCamera(in CustomPassContext, Camera, RenderTexture, ClearFlag, LayerMask, RenderQueueType, RenderStateBlock)

    Render world space normal of objects from the view point of a camera into the color buffer.

    RenderNormalFromCamera(in CustomPassContext, Camera, RTHandle, RTHandle, ClearFlag, LayerMask, RenderQueueType, RenderStateBlock)

    Render world space normal of objects from the view point of a camera into the color buffer.

    RenderTangentFromCamera(in CustomPassContext, Camera, LayerMask, RenderQueueType, RenderStateBlock)

    Render world space tangent of objects from the view point of a camera into the color buffer.

    RenderTangentFromCamera(in CustomPassContext, Camera, RenderTexture, ClearFlag, LayerMask, RenderQueueType, RenderStateBlock)

    Render world space tangent of objects from the view point of a camera into the color buffer

    RenderTangentFromCamera(in CustomPassContext, Camera, RTHandle, RTHandle, ClearFlag, LayerMask, RenderQueueType, RenderStateBlock)

    Render world space tangent of objects from the view point of a camera into the color buffer

    VerticalGaussianBlur(in CustomPassContext, RTHandle, RTHandle, int, float, int, int)

    Vertical gaussian blur pass

    VerticalGaussianBlur(in CustomPassContext, RTHandle, RTHandle, Vector4, Vector4, int, float, int, int)

    Vertical gaussian blur pass

    In This Article
    Back to top
    Copyright © 2023 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)