docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Struct ImageFilters.BlitParams

    Parameters for blitting textures.

    Inherited Members
    ValueType.Equals(object)
    ValueType.GetHashCode()
    object.Equals(object, object)
    object.GetType()
    object.ReferenceEquals(object, object)
    Namespace: Unity.XR.CompositionLayers.Rendering
    Assembly: Unity.XR.CompositionLayers.dll
    Syntax
    public struct ImageFilters.BlitParams

    Constructors

    BlitParams(Texture)

    Initializes a new instance of the ImageFilters.BlitParams struct with the specified source texture.

    Declaration
    public BlitParams(Texture sourceTexture)
    Parameters
    Type Name Description
    Texture sourceTexture

    The source texture to blit.

    BlitParams(Texture, int)

    Initializes a new instance of the ImageFilters.BlitParams struct with the specified source texture and array slice.

    Declaration
    public BlitParams(Texture sourceTexture, int sourceTextureArraySlice)
    Parameters
    Type Name Description
    Texture sourceTexture

    The source texture to blit.

    int sourceTextureArraySlice

    The array slice of the source texture.

    Fields

    alphaMode

    The alpha blending mode.

    Declaration
    public ImageFilters.AlphaMode alphaMode
    Field Value
    Type Description
    ImageFilters.AlphaMode

    destRect

    The destination rectangle.

    Declaration
    public Rect destRect
    Field Value
    Type Description
    Rect

    foveatedRenderingInfo

    The foveated rendering information.

    Declaration
    public IntPtr foveatedRenderingInfo
    Field Value
    Type Description
    IntPtr

    renderPipeline

    The render pipeline used.

    Declaration
    public ImageFilters.RenderPipeline renderPipeline
    Field Value
    Type Description
    ImageFilters.RenderPipeline

    sourceHdrParams

    The HDR parameters for the source texture.

    Declaration
    public ImageFilters.HDRParams sourceHdrParams
    Field Value
    Type Description
    ImageFilters.HDRParams

    sourceRect

    The source rectangle.

    Declaration
    public Rect sourceRect
    Field Value
    Type Description
    Rect

    sourceTexture

    The source texture to blit.

    Declaration
    public Texture sourceTexture
    Field Value
    Type Description
    Texture

    sourceTextureArraySlice

    The array slice of the source texture.

    Declaration
    public int sourceTextureArraySlice
    Field Value
    Type Description
    int

    Methods

    ToString()

    Returns a string representation of the blit parameters.

    Declaration
    public override string ToString()
    Returns
    Type Description
    string

    A string describing the blit parameters.

    Overrides
    ValueType.ToString()
    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)