docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class ImageFilters

    Provides image filtering and blitting functionalities for composition layers in XR applications.

    Inheritance
    object
    ImageFilters
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Unity.XR.CompositionLayers.Rendering
    Assembly: Unity.XR.CompositionLayers.dll
    Syntax
    public static class ImageFilters

    Methods

    BeginBatch()

    Begins a batch of image operations.

    Declaration
    public static void BeginBatch()

    Blit(in BlitParams, in TargetParams)

    Blits the specified source texture to the target using the given parameters.

    Declaration
    public static void Blit(in ImageFilters.BlitParams blitParam, in ImageFilters.TargetParams targetParams)
    Parameters
    Type Name Description
    ImageFilters.BlitParams blitParam

    Parameters for the blit operation.

    ImageFilters.TargetParams targetParams

    Parameters for the blit target.

    Blit(CommandBuffer, in BlitParams, int)

    Blits the specified source texture to the target display using the given parameters.

    Declaration
    public static void Blit(CommandBuffer cmd, in ImageFilters.BlitParams blitParam, int targetDisplay)
    Parameters
    Type Name Description
    CommandBuffer cmd

    The command buffer to use.

    ImageFilters.BlitParams blitParam

    Parameters for the blit operation.

    int targetDisplay

    The target display index.

    Blit(CommandBuffer, in BlitParams, in TargetParams)

    Blits the specified source texture to the target using the given parameters.

    Declaration
    public static void Blit(CommandBuffer cmd, in ImageFilters.BlitParams blitParam, in ImageFilters.TargetParams targetParams)
    Parameters
    Type Name Description
    CommandBuffer cmd

    The command buffer to use.

    ImageFilters.BlitParams blitParam

    Parameters for the blit operation.

    ImageFilters.TargetParams targetParams

    Parameters for the blit target.

    BlitMirrorView(CommandBuffer, in MirrorViewParams)

    Blits the mirror view using the specified parameters.

    Declaration
    public static void BlitMirrorView(CommandBuffer cmd, in ImageFilters.MirrorViewParams mirrorViewParams)
    Parameters
    Type Name Description
    CommandBuffer cmd

    The command buffer to use.

    ImageFilters.MirrorViewParams mirrorViewParams

    Parameters for the mirror view blit operation.

    EndBatch()

    Ends a batch of image operations and executes the command buffer.

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